public static class CccInfrastructureSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public CccInfrastructureSummary.Builder id(String id)
The Compute Cloud@Customer infrastructure OCID. This cannot be changed once created.
id
- the value to setpublic 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.
shortName
- the value to setpublic 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.
displayName
- the value to setpublic CccInfrastructureSummary.Builder compartmentId(String compartmentId)
The compartment OCID associated with the infrastructure.
compartmentId
- the value to setpublic CccInfrastructureSummary.Builder subnetId(String subnetId)
OCID for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.
subnetId
- the value to setpublic CccInfrastructureSummary.Builder timeCreated(Date timeCreated)
Compute Cloud@Customer infrastructure creation date and time. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic CccInfrastructureSummary.Builder connectionState(CccInfrastructure.ConnectionState connectionState)
The current connection state of the infrastructure.
connectionState
- the value to setpublic CccInfrastructureSummary.Builder lifecycleState(CccInfrastructure.LifecycleState lifecycleState)
The current state of the Compute Cloud@Customer infrastructure.
lifecycleState
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic CccInfrastructureSummary build()
public CccInfrastructureSummary.Builder copy(CccInfrastructureSummary model)
Copyright © 2016–2024. All rights reserved.