Class CreateCccInfrastructureDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.computecloudatcustomer.model.CreateCccInfrastructureDetails.Builder
-
- Enclosing class:
- CreateCccInfrastructureDetails
public static class CreateCccInfrastructureDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCccInfrastructureDetailsbuild()CreateCccInfrastructureDetails.BuildercccUpgradeScheduleId(String cccUpgradeScheduleId)Schedule used for upgrades.CreateCccInfrastructureDetails.BuildercompartmentId(String compartmentId)The compartment OCID associated with the infrastructure.CreateCccInfrastructureDetails.BuilderconnectionDetails(String connectionDetails)A message describing the current connection state in more detail.CreateCccInfrastructureDetails.BuilderconnectionState(CccInfrastructure.ConnectionState connectionState)The current connection state of the Compute Cloud@Customer infrastructure.CreateCccInfrastructureDetails.Buildercopy(CreateCccInfrastructureDetails model)CreateCccInfrastructureDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateCccInfrastructureDetails.Builderdescription(String description)A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure.CreateCccInfrastructureDetails.BuilderdisplayName(String displayName)The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console.CreateCccInfrastructureDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateCccInfrastructureDetails.BuildersubnetId(String subnetId)Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure.
-
-
-
Method Detail
-
displayName
public CreateCccInfrastructureDetails.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
-
description
public CreateCccInfrastructureDetails.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
-
compartmentId
public CreateCccInfrastructureDetails.Builder compartmentId(String compartmentId)
The compartment OCID associated with the infrastructure.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
subnetId
public CreateCccInfrastructureDetails.Builder subnetId(String subnetId)
Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
connectionState
public CreateCccInfrastructureDetails.Builder connectionState(CccInfrastructure.ConnectionState connectionState)
The current connection state of the Compute Cloud@Customer infrastructure.This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT.
- Parameters:
connectionState- the value to set- Returns:
- this builder
-
connectionDetails
public CreateCccInfrastructureDetails.Builder connectionDetails(String connectionDetails)
A message describing the current connection state in more detail.- Parameters:
connectionDetails- the value to set- Returns:
- this builder
-
cccUpgradeScheduleId
public CreateCccInfrastructureDetails.Builder cccUpgradeScheduleId(String cccUpgradeScheduleId)
Schedule used for upgrades.If no schedule is associated with the infrastructure, it can be upgraded at any time.
- Parameters:
cccUpgradeScheduleId- the value to set- Returns:
- this builder
-
freeformTags
public CreateCccInfrastructureDetails.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 CreateCccInfrastructureDetails.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
-
build
public CreateCccInfrastructureDetails build()
-
copy
public CreateCccInfrastructureDetails.Builder copy(CreateCccInfrastructureDetails model)
-
-