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