public static class CccInfrastructure.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CccInfrastructure |
build() |
CccInfrastructure.Builder |
cccUpgradeScheduleId(String cccUpgradeScheduleId)
Schedule used for upgrades.
|
CccInfrastructure.Builder |
compartmentId(String compartmentId)
The infrastructure compartment
OCID.
|
CccInfrastructure.Builder |
connectionDetails(String connectionDetails)
A message describing the current connection state in more detail.
|
CccInfrastructure.Builder |
connectionState(CccInfrastructure.ConnectionState connectionState)
The current connection state of the infrastructure.
|
CccInfrastructure.Builder |
copy(CccInfrastructure model) |
CccInfrastructure.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CccInfrastructure.Builder |
description(String description)
A mutable client-meaningful text description of the Compute Cloud@Customer
infrastructure.
|
CccInfrastructure.Builder |
displayName(String displayName)
The name that will be used to display the Compute Cloud@Customer infrastructure in the
Oracle Cloud Infrastructure console.
|
CccInfrastructure.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CccInfrastructure.Builder |
id(String id)
The Compute Cloud@Customer infrastructure
OCID.
|
CccInfrastructure.Builder |
infrastructureInventory(CccInfrastructureInventory infrastructureInventory) |
CccInfrastructure.Builder |
infrastructureNetworkConfiguration(CccInfrastructureNetworkConfiguration infrastructureNetworkConfiguration) |
CccInfrastructure.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current lifecycle state in more detail.
|
CccInfrastructure.Builder |
lifecycleState(CccInfrastructure.LifecycleState lifecycleState)
The current state of the Compute Cloud@Customer infrastructure.
|
CccInfrastructure.Builder |
provisioningFingerprint(String provisioningFingerprint)
Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during
the initial connection to this resource.
|
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.
|
CccInfrastructure.Builder |
shortName(String shortName)
The Compute Cloud@Customer infrastructure short name.
|
CccInfrastructure.Builder |
subnetId(String subnetId)
OCID for
the network subnet that is used to communicate with Compute Cloud@Customer
infrastructure.
|
CccInfrastructure.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
CccInfrastructure.Builder |
timeCreated(Date timeCreated)
Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted
datetime string.
|
CccInfrastructure.Builder |
timeUpdated(Date timeUpdated)
Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted
datetime string.
|
CccInfrastructure.Builder |
upgradeInformation(CccUpgradeInformation upgradeInformation) |
public CccInfrastructure.Builder id(String id)
The Compute Cloud@Customer infrastructure OCID. This cannot be changed once created.
id
- the value to setpublic 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.
shortName
- the value to setpublic 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.
displayName
- the value to setpublic CccInfrastructure.Builder description(String description)
A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information.
description
- the value to setpublic CccInfrastructure.Builder compartmentId(String compartmentId)
The infrastructure compartment OCID.
compartmentId
- the value to setpublic CccInfrastructure.Builder subnetId(String subnetId)
OCID for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.
subnetId
- the value to setpublic 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.
connectionState
- the value to setpublic CccInfrastructure.Builder connectionDetails(String connectionDetails)
A message describing the current connection state in more detail.
connectionDetails
- the value to setpublic CccInfrastructure.Builder cccUpgradeScheduleId(String cccUpgradeScheduleId)
Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time.
cccUpgradeScheduleId
- the value to setpublic 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.
provisioningFingerprint
- the value to setpublic 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).
provisioningPin
- the value to setpublic CccInfrastructure.Builder timeCreated(Date timeCreated)
Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.
timeCreated
- the value to setpublic CccInfrastructure.Builder timeUpdated(Date timeUpdated)
Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic CccInfrastructure.Builder lifecycleState(CccInfrastructure.LifecycleState lifecycleState)
The current state of the Compute Cloud@Customer infrastructure.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic CccInfrastructure.Builder infrastructureInventory(CccInfrastructureInventory infrastructureInventory)
public CccInfrastructure.Builder infrastructureNetworkConfiguration(CccInfrastructureNetworkConfiguration infrastructureNetworkConfiguration)
public CccInfrastructure.Builder upgradeInformation(CccUpgradeInformation upgradeInformation)
public 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic CccInfrastructure build()
public CccInfrastructure.Builder copy(CccInfrastructure model)
Copyright © 2016–2024. All rights reserved.