Class CccInfrastructureSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.computecloudatcustomer.model.CccInfrastructureSummary.Builder
-
- Enclosing class:
- CccInfrastructureSummary
public static class CccInfrastructureSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CccInfrastructureSummary
build()
CccInfrastructureSummary.Builder
compartmentId(String compartmentId)
The compartment OCID associated with the infrastructure.CccInfrastructureSummary.Builder
connectionState(CccInfrastructure.ConnectionState connectionState)
The current connection state of the infrastructure.CccInfrastructureSummary.Builder
copy(CccInfrastructureSummary model)
CccInfrastructureSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CccInfrastructureSummary.Builder
displayName(String displayName)
The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console.CccInfrastructureSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CccInfrastructureSummary.Builder
id(String id)
The Compute Cloud@Customer infrastructure OCID.CccInfrastructureSummary.Builder
lifecycleState(CccInfrastructure.LifecycleState lifecycleState)
The current state of the Compute Cloud@Customer infrastructure.CccInfrastructureSummary.Builder
shortName(String shortName)
The Compute Cloud@Customer infrastructure short name.CccInfrastructureSummary.Builder
subnetId(String subnetId)
OCID for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.CccInfrastructureSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CccInfrastructureSummary.Builder
timeCreated(Date timeCreated)
Compute Cloud@Customer infrastructure creation date and time.
-
-
-
Method Detail
-
id
public CccInfrastructureSummary.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
-
shortName
public CccInfrastructureSummary.Builder shortName(String shortName)
The Compute Cloud@Customer infrastructure short name.This is generated at the time the resource is created and cannot be changed. The short name can be used when communicating with Oracle Service and may be used during the configuration of the data center network.
- Parameters:
shortName
- the value to set- Returns:
- this builder
-
displayName
public CccInfrastructureSummary.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
-
compartmentId
public CccInfrastructureSummary.Builder compartmentId(String compartmentId)
The compartment OCID associated with the infrastructure.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
subnetId
public CccInfrastructureSummary.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
-
timeCreated
public CccInfrastructureSummary.Builder timeCreated(Date timeCreated)
Compute Cloud@Customer infrastructure creation date and time.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
connectionState
public CccInfrastructureSummary.Builder connectionState(CccInfrastructure.ConnectionState connectionState)
The current connection state of the infrastructure.- Parameters:
connectionState
- the value to set- Returns:
- this builder
-
lifecycleState
public CccInfrastructureSummary.Builder lifecycleState(CccInfrastructure.LifecycleState lifecycleState)
The current state of the Compute Cloud@Customer infrastructure.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public CccInfrastructureSummary.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
-
definedTags
public CccInfrastructureSummary.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
-
systemTags
public CccInfrastructureSummary.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
-
build
public CccInfrastructureSummary build()
-
copy
public CccInfrastructureSummary.Builder copy(CccInfrastructureSummary model)
-
-