Class CloudClusterInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudClusterInstance.Builder
-
- Enclosing class:
- CloudClusterInstance
public static class CloudClusterInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudClusterInstance.BuilderadrHomeDirectory(String adrHomeDirectory)The Automatic Diagnostic Repository (ADR) home directory for the cluster instance.CloudClusterInstancebuild()CloudClusterInstance.BuildercloudClusterId(String cloudClusterId)The OCID of the cloud cluster that the cluster instance belongs to.CloudClusterInstance.BuildercloudConnectorId(String cloudConnectorId)The OCID of the cloud connector.CloudClusterInstance.BuildercloudDbNodeId(String cloudDbNodeId)The OCID of the cloud DB node.CloudClusterInstance.BuildercloudDbSystemId(String cloudDbSystemId)The OCID of the cloud DB system that the cluster instance is a part of.CloudClusterInstance.BuildercompartmentId(String compartmentId)The OCID of the compartment.CloudClusterInstance.BuildercomponentName(String componentName)The name of the cloud cluster instance.CloudClusterInstance.Buildercopy(CloudClusterInstance model)CloudClusterInstance.BuildercrsBaseDirectory(String crsBaseDirectory)The Oracle base location of Cluster Ready Services (CRS).CloudClusterInstance.BuilderdbaasId(String dbaasId)The OCID in DBaas service.CloudClusterInstance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CloudClusterInstance.BuilderdisplayName(String displayName)The user-friendly name for the cluster instance.CloudClusterInstance.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CloudClusterInstance.BuilderhostName(String hostName)The name of the host on which the cluster instance is running.CloudClusterInstance.Builderid(String id)The OCID of the cloud cluster instance.CloudClusterInstance.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.CloudClusterInstance.BuilderlifecycleState(CloudClusterInstance.LifecycleState lifecycleState)The current lifecycle state of the cloud cluster instance.CloudClusterInstance.BuildernodeRole(CloudClusterInstance.NodeRole nodeRole)The role of the cluster node.CloudClusterInstance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CloudClusterInstance.BuildertimeCreated(Date timeCreated)The date and time the cloud cluster instance was created.CloudClusterInstance.BuildertimeUpdated(Date timeUpdated)The date and time the cloud cluster instance was last updated.
-
-
-
Method Detail
-
id
public CloudClusterInstance.Builder id(String id)
The OCID of the cloud cluster instance.- Parameters:
id- the value to set- Returns:
- this builder
-
dbaasId
public CloudClusterInstance.Builder dbaasId(String dbaasId)
The OCID in DBaas service.- Parameters:
dbaasId- the value to set- Returns:
- this builder
-
displayName
public CloudClusterInstance.Builder displayName(String displayName)
The user-friendly name for the cluster instance.The name does not have to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
componentName
public CloudClusterInstance.Builder componentName(String componentName)
The name of the cloud cluster instance.- Parameters:
componentName- the value to set- Returns:
- this builder
-
compartmentId
public CloudClusterInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
cloudClusterId
public CloudClusterInstance.Builder cloudClusterId(String cloudClusterId)
The OCID of the cloud cluster that the cluster instance belongs to.- Parameters:
cloudClusterId- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudClusterInstance.Builder cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the cluster instance is a part of.- Parameters:
cloudDbSystemId- the value to set- Returns:
- this builder
-
cloudDbNodeId
public CloudClusterInstance.Builder cloudDbNodeId(String cloudDbNodeId)
The OCID of the cloud DB node.- Parameters:
cloudDbNodeId- the value to set- Returns:
- this builder
-
cloudConnectorId
public CloudClusterInstance.Builder cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.- Parameters:
cloudConnectorId- the value to set- Returns:
- this builder
-
hostName
public CloudClusterInstance.Builder hostName(String hostName)
The name of the host on which the cluster instance is running.- Parameters:
hostName- the value to set- Returns:
- this builder
-
nodeRole
public CloudClusterInstance.Builder nodeRole(CloudClusterInstance.NodeRole nodeRole)
The role of the cluster node.- Parameters:
nodeRole- the value to set- Returns:
- this builder
-
crsBaseDirectory
public CloudClusterInstance.Builder crsBaseDirectory(String crsBaseDirectory)
The Oracle base location of Cluster Ready Services (CRS).- Parameters:
crsBaseDirectory- the value to set- Returns:
- this builder
-
adrHomeDirectory
public CloudClusterInstance.Builder adrHomeDirectory(String adrHomeDirectory)
The Automatic Diagnostic Repository (ADR) home directory for the cluster instance.- Parameters:
adrHomeDirectory- the value to set- Returns:
- this builder
-
lifecycleState
public CloudClusterInstance.Builder lifecycleState(CloudClusterInstance.LifecycleState lifecycleState)
The current lifecycle state of the cloud cluster instance.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudClusterInstance.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public CloudClusterInstance.Builder timeCreated(Date timeCreated)
The date and time the cloud cluster instance was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public CloudClusterInstance.Builder timeUpdated(Date timeUpdated)
The date and time the cloud cluster instance was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public CloudClusterInstance.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 CloudClusterInstance.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 CloudClusterInstance.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 CloudClusterInstance build()
-
copy
public CloudClusterInstance.Builder copy(CloudClusterInstance model)
-
-