Class CloudCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudCluster.Builder
-
- Enclosing class:
- CloudCluster
public static class CloudCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudCluster.Builder
additionalDetails(Map<String,String> additionalDetails)
The additional details of the cloud cluster defined in {“key”: “value”} format.CloudCluster
build()
CloudCluster.Builder
cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.CloudCluster.Builder
cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the cluster is a part of.CloudCluster.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CloudCluster.Builder
componentName(String componentName)
The name of the cloud cluster.CloudCluster.Builder
copy(CloudCluster model)
CloudCluster.Builder
dbaasId(String dbaasId)
The OCID in DBaas service.CloudCluster.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CloudCluster.Builder
displayName(String displayName)
The user-friendly name for the cloud cluster.CloudCluster.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CloudCluster.Builder
gridHome(String gridHome)
The directory in which Oracle Grid Infrastructure is installed.CloudCluster.Builder
id(String id)
The OCID of the cloud cluster.CloudCluster.Builder
isFlexCluster(Boolean isFlexCluster)
Indicates whether the cluster is Oracle Flex Cluster or not.CloudCluster.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.CloudCluster.Builder
lifecycleState(CloudCluster.LifecycleState lifecycleState)
The current lifecycle state of the cloud cluster.CloudCluster.Builder
networkConfigurations(List<CloudClusterNetworkConfiguration> networkConfigurations)
The list of network address configurations of the cloud cluster.CloudCluster.Builder
ocrFileLocation(String ocrFileLocation)
The location of the Oracle Cluster Registry (OCR).CloudCluster.Builder
scanConfigurations(List<CloudClusterScanListenerConfiguration> scanConfigurations)
The list of Single Client Access Name (SCAN) configurations of the cloud cluster.CloudCluster.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CloudCluster.Builder
timeCreated(Date timeCreated)
The date and time the cloud cluster was created.CloudCluster.Builder
timeUpdated(Date timeUpdated)
The date and time the cloud cluster was last updated.CloudCluster.Builder
version(String version)
The cluster version.CloudCluster.Builder
vipConfigurations(List<CloudClusterVipConfiguration> vipConfigurations)
The list of Virtual IP (VIP) configurations of the cloud cluster.
-
-
-
Method Detail
-
id
public CloudCluster.Builder id(String id)
The OCID of the cloud cluster.- Parameters:
id
- the value to set- Returns:
- this builder
-
dbaasId
public CloudCluster.Builder dbaasId(String dbaasId)
The OCID in DBaas service.- Parameters:
dbaasId
- the value to set- Returns:
- this builder
-
displayName
public CloudCluster.Builder displayName(String displayName)
The user-friendly name for the cloud cluster.The name does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
componentName
public CloudCluster.Builder componentName(String componentName)
The name of the cloud cluster.- Parameters:
componentName
- the value to set- Returns:
- this builder
-
compartmentId
public CloudCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudCluster.Builder cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the cluster is a part of.- Parameters:
cloudDbSystemId
- the value to set- Returns:
- this builder
-
cloudConnectorId
public CloudCluster.Builder cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.- Parameters:
cloudConnectorId
- the value to set- Returns:
- this builder
-
gridHome
public CloudCluster.Builder gridHome(String gridHome)
The directory in which Oracle Grid Infrastructure is installed.- Parameters:
gridHome
- the value to set- Returns:
- this builder
-
isFlexCluster
public CloudCluster.Builder isFlexCluster(Boolean isFlexCluster)
Indicates whether the cluster is Oracle Flex Cluster or not.- Parameters:
isFlexCluster
- the value to set- Returns:
- this builder
-
additionalDetails
public CloudCluster.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the cloud cluster defined in {“key”: “value”} format.Example: {“bar-key”: “value”}
- Parameters:
additionalDetails
- the value to set- Returns:
- this builder
-
lifecycleState
public CloudCluster.Builder lifecycleState(CloudCluster.LifecycleState lifecycleState)
The current lifecycle state of the cloud cluster.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudCluster.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
networkConfigurations
public CloudCluster.Builder networkConfigurations(List<CloudClusterNetworkConfiguration> networkConfigurations)
The list of network address configurations of the cloud cluster.- Parameters:
networkConfigurations
- the value to set- Returns:
- this builder
-
vipConfigurations
public CloudCluster.Builder vipConfigurations(List<CloudClusterVipConfiguration> vipConfigurations)
The list of Virtual IP (VIP) configurations of the cloud cluster.- Parameters:
vipConfigurations
- the value to set- Returns:
- this builder
-
scanConfigurations
public CloudCluster.Builder scanConfigurations(List<CloudClusterScanListenerConfiguration> scanConfigurations)
The list of Single Client Access Name (SCAN) configurations of the cloud cluster.- Parameters:
scanConfigurations
- the value to set- Returns:
- this builder
-
ocrFileLocation
public CloudCluster.Builder ocrFileLocation(String ocrFileLocation)
The location of the Oracle Cluster Registry (OCR).- Parameters:
ocrFileLocation
- the value to set- Returns:
- this builder
-
timeCreated
public CloudCluster.Builder timeCreated(Date timeCreated)
The date and time the cloud cluster was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public CloudCluster.Builder timeUpdated(Date timeUpdated)
The date and time the cloud cluster was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
version
public CloudCluster.Builder version(String version)
The cluster version.- Parameters:
version
- the value to set- Returns:
- this builder
-
freeformTags
public CloudCluster.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CloudCluster.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public CloudCluster.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public CloudCluster build()
-
copy
public CloudCluster.Builder copy(CloudCluster model)
-
-