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