Class ExternalClusterInstance.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.ExternalClusterInstance.Builder
 
- 
- Enclosing class:
- ExternalClusterInstance
 
 public static class ExternalClusterInstance.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic ExternalClusterInstance.Builder id(String id) The OCID of the external cluster instance.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
componentNamepublic ExternalClusterInstance.Builder componentName(String componentName) The name of the external cluster instance.- Parameters:
- componentName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ExternalClusterInstance.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
externalClusterIdpublic 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
 
 - 
externalDbSystemIdpublic 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
 
 - 
externalDbNodeIdpublic ExternalClusterInstance.Builder externalDbNodeId(String externalDbNodeId) The OCID of the external DB node.- Parameters:
- externalDbNodeId- the value to set
- Returns:
- this builder
 
 - 
externalConnectorIdpublic ExternalClusterInstance.Builder externalConnectorId(String externalConnectorId) The OCID of the external connector.- Parameters:
- externalConnectorId- the value to set
- Returns:
- this builder
 
 - 
hostNamepublic 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
 
 - 
nodeRolepublic ExternalClusterInstance.Builder nodeRole(ExternalClusterInstance.NodeRole nodeRole) The role of the cluster node.- Parameters:
- nodeRole- the value to set
- Returns:
- this builder
 
 - 
crsBaseDirectorypublic ExternalClusterInstance.Builder crsBaseDirectory(String crsBaseDirectory) The Oracle base location of Cluster Ready Services (CRS).- Parameters:
- crsBaseDirectory- the value to set
- Returns:
- this builder
 
 - 
adrHomeDirectorypublic 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
 
 - 
lifecycleStatepublic ExternalClusterInstance.Builder lifecycleState(ExternalClusterInstance.LifecycleState lifecycleState) The current lifecycle state of the external cluster instance.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ExternalClusterInstance.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ExternalClusterInstance.Builder timeCreated(Date timeCreated) The date and time the external cluster instance was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic ExternalClusterInstance build() 
 - 
copypublic ExternalClusterInstance.Builder copy(ExternalClusterInstance model) 
 
- 
 
-