Class ExternalCluster.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.ExternalCluster.Builder
 
- 
- Enclosing class:
- ExternalCluster
 
 public static class ExternalCluster.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalCluster.BuilderadditionalDetails(Map<String,String> additionalDetails)The additional details of the external cluster defined in {“key”: “value”} format.ExternalClusterbuild()ExternalCluster.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExternalCluster.BuildercomponentName(String componentName)The name of the external cluster.ExternalCluster.Buildercopy(ExternalCluster model)ExternalCluster.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExternalCluster.BuilderdisplayName(String displayName)The user-friendly name for the external cluster.ExternalCluster.BuilderexternalConnectorId(String externalConnectorId)The OCID of the external connector.ExternalCluster.BuilderexternalDbSystemId(String externalDbSystemId)The OCID of the external DB system that the cluster is a part of.ExternalCluster.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExternalCluster.BuildergridHome(String gridHome)The directory in which Oracle Grid Infrastructure is installed.ExternalCluster.Builderid(String id)The OCID of the external cluster.ExternalCluster.BuilderisFlexCluster(Boolean isFlexCluster)Indicates whether the cluster is Oracle Flex Cluster or not.ExternalCluster.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExternalCluster.BuilderlifecycleState(ExternalCluster.LifecycleState lifecycleState)The current lifecycle state of the external cluster.ExternalCluster.BuildernetworkConfigurations(List<ExternalClusterNetworkConfiguration> networkConfigurations)The list of network address configurations of the external cluster.ExternalCluster.BuilderocrFileLocation(String ocrFileLocation)The location of the Oracle Cluster Registry (OCR).ExternalCluster.BuilderscanConfigurations(List<ExternalClusterScanListenerConfiguration> scanConfigurations)The list of Single Client Access Name (SCAN) configurations of the external cluster.ExternalCluster.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExternalCluster.BuildertimeCreated(Date timeCreated)The date and time the external cluster was created.ExternalCluster.BuildertimeUpdated(Date timeUpdated)The date and time the external cluster was last updated.ExternalCluster.Builderversion(String version)The cluster version.ExternalCluster.BuildervipConfigurations(List<ExternalClusterVipConfiguration> vipConfigurations)The list of Virtual IP (VIP) configurations of the external cluster.
 
- 
- 
- 
Method Detail- 
idpublic ExternalCluster.Builder id(String id) The OCID of the external cluster.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ExternalCluster.Builder displayName(String displayName) The user-friendly name for the external cluster.The name does not have to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
componentNamepublic ExternalCluster.Builder componentName(String componentName) The name of the external cluster.- Parameters:
- componentName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ExternalCluster.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
externalDbSystemIdpublic ExternalCluster.Builder externalDbSystemId(String externalDbSystemId) The OCID of the external DB system that the cluster is a part of.- Parameters:
- externalDbSystemId- the value to set
- Returns:
- this builder
 
 - 
externalConnectorIdpublic ExternalCluster.Builder externalConnectorId(String externalConnectorId) The OCID of the external connector.- Parameters:
- externalConnectorId- the value to set
- Returns:
- this builder
 
 - 
gridHomepublic ExternalCluster.Builder gridHome(String gridHome) The directory in which Oracle Grid Infrastructure is installed.- Parameters:
- gridHome- the value to set
- Returns:
- this builder
 
 - 
isFlexClusterpublic ExternalCluster.Builder isFlexCluster(Boolean isFlexCluster) Indicates whether the cluster is Oracle Flex Cluster or not.- Parameters:
- isFlexCluster- the value to set
- Returns:
- this builder
 
 - 
additionalDetailspublic ExternalCluster.Builder additionalDetails(Map<String,String> additionalDetails) The additional details of the external cluster defined in {“key”: “value”} format.Example: {“bar-key”: “value”} - Parameters:
- additionalDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ExternalCluster.Builder lifecycleState(ExternalCluster.LifecycleState lifecycleState) The current lifecycle state of the external cluster.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ExternalCluster.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
networkConfigurationspublic ExternalCluster.Builder networkConfigurations(List<ExternalClusterNetworkConfiguration> networkConfigurations) The list of network address configurations of the external cluster.- Parameters:
- networkConfigurations- the value to set
- Returns:
- this builder
 
 - 
vipConfigurationspublic ExternalCluster.Builder vipConfigurations(List<ExternalClusterVipConfiguration> vipConfigurations) The list of Virtual IP (VIP) configurations of the external cluster.- Parameters:
- vipConfigurations- the value to set
- Returns:
- this builder
 
 - 
scanConfigurationspublic ExternalCluster.Builder scanConfigurations(List<ExternalClusterScanListenerConfiguration> scanConfigurations) The list of Single Client Access Name (SCAN) configurations of the external cluster.- Parameters:
- scanConfigurations- the value to set
- Returns:
- this builder
 
 - 
ocrFileLocationpublic ExternalCluster.Builder ocrFileLocation(String ocrFileLocation) The location of the Oracle Cluster Registry (OCR).- Parameters:
- ocrFileLocation- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ExternalCluster.Builder timeCreated(Date timeCreated) The date and time the external cluster was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ExternalCluster.Builder timeUpdated(Date timeUpdated) The date and time the external cluster was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
versionpublic ExternalCluster.Builder version(String version) The cluster version.- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ExternalCluster.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 ExternalCluster.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 ExternalCluster.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 ExternalCluster build() 
 - 
copypublic ExternalCluster.Builder copy(ExternalCluster model) 
 
- 
 
-