Class CccInfrastructure.Builder
- java.lang.Object
- 
- com.oracle.bmc.computecloudatcustomer.model.CccInfrastructure.Builder
 
- 
- Enclosing class:
- CccInfrastructure
 
 public static class CccInfrastructure.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CccInfrastructurebuild()CccInfrastructure.BuildercccUpgradeScheduleId(String cccUpgradeScheduleId)Schedule used for upgrades.CccInfrastructure.BuildercompartmentId(String compartmentId)The infrastructure compartment OCID.CccInfrastructure.BuilderconnectionDetails(String connectionDetails)A message describing the current connection state in more detail.CccInfrastructure.BuilderconnectionState(CccInfrastructure.ConnectionState connectionState)The current connection state of the infrastructure.CccInfrastructure.Buildercopy(CccInfrastructure model)CccInfrastructure.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CccInfrastructure.Builderdescription(String description)A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure.CccInfrastructure.BuilderdisplayName(String displayName)The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console.CccInfrastructure.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CccInfrastructure.Builderid(String id)The Compute Cloud@Customer infrastructure OCID.CccInfrastructure.BuilderinfrastructureInventory(CccInfrastructureInventory infrastructureInventory)CccInfrastructure.BuilderinfrastructureNetworkConfiguration(CccInfrastructureNetworkConfiguration infrastructureNetworkConfiguration)CccInfrastructure.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current lifecycle state in more detail.CccInfrastructure.BuilderlifecycleState(CccInfrastructure.LifecycleState lifecycleState)The current state of the Compute Cloud@Customer infrastructure.CccInfrastructure.BuilderprovisioningFingerprint(String provisioningFingerprint)Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource.CccInfrastructure.BuilderprovisioningPin(String provisioningPin)Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource.CccInfrastructure.BuildershortName(String shortName)The Compute Cloud@Customer infrastructure short name.CccInfrastructure.BuildersubnetId(String subnetId)OCID for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.CccInfrastructure.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CccInfrastructure.BuildertimeCreated(Date timeCreated)Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.CccInfrastructure.BuildertimeUpdated(Date timeUpdated)Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.CccInfrastructure.BuilderupgradeInformation(CccUpgradeInformation upgradeInformation)
 
- 
- 
- 
Method Detail- 
idpublic CccInfrastructure.Builder id(String id) The Compute Cloud@Customer infrastructure OCID.This cannot be changed once created. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
shortNamepublic CccInfrastructure.Builder shortName(String shortName) The Compute Cloud@Customer infrastructure short name.This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. - Parameters:
- shortName- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CccInfrastructure.Builder displayName(String displayName) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console.Does not have to be unique and can be changed. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CccInfrastructure.Builder description(String description) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CccInfrastructure.Builder compartmentId(String compartmentId) The infrastructure compartment OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic CccInfrastructure.Builder subnetId(String subnetId) OCID for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
connectionStatepublic CccInfrastructure.Builder connectionState(CccInfrastructure.ConnectionState connectionState) The current connection state of the infrastructure.A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. - Parameters:
- connectionState- the value to set
- Returns:
- this builder
 
 - 
connectionDetailspublic CccInfrastructure.Builder connectionDetails(String connectionDetails) A message describing the current connection state in more detail.- Parameters:
- connectionDetails- the value to set
- Returns:
- this builder
 
 - 
cccUpgradeScheduleIdpublic CccInfrastructure.Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) Schedule used for upgrades.If no schedule is associated with the infrastructure, it can be updated at any time. - Parameters:
- cccUpgradeScheduleId- the value to set
- Returns:
- this builder
 
 - 
provisioningFingerprintpublic CccInfrastructure.Builder provisioningFingerprint(String provisioningFingerprint) Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource.The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. - Parameters:
- provisioningFingerprint- the value to set
- Returns:
- this builder
 
 - 
provisioningPinpublic CccInfrastructure.Builder provisioningPin(String provisioningPin) Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource.This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). - Parameters:
- provisioningPin- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic CccInfrastructure.Builder timeCreated(Date timeCreated) Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic CccInfrastructure.Builder timeUpdated(Date timeUpdated) Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic CccInfrastructure.Builder lifecycleState(CccInfrastructure.LifecycleState lifecycleState) The current state of the Compute Cloud@Customer infrastructure.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic CccInfrastructure.Builder lifecycleDetails(String lifecycleDetails) A message describing the current lifecycle state in more detail.For example, this can be used to provide actionable information for a resource that is in a Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
infrastructureInventorypublic CccInfrastructure.Builder infrastructureInventory(CccInfrastructureInventory infrastructureInventory) 
 - 
infrastructureNetworkConfigurationpublic CccInfrastructure.Builder infrastructureNetworkConfiguration(CccInfrastructureNetworkConfiguration infrastructureNetworkConfiguration) 
 - 
upgradeInformationpublic CccInfrastructure.Builder upgradeInformation(CccUpgradeInformation upgradeInformation) 
 - 
freeformTagspublic CccInfrastructure.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CccInfrastructure.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic CccInfrastructure.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CccInfrastructure build() 
 - 
copypublic CccInfrastructure.Builder copy(CccInfrastructure model) 
 
- 
 
-