public static class ExternalCluster.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExternalCluster.Builder |
additionalDetails(Map<String,String> additionalDetails)
The additional details of the external cluster defined in
{"key": "value"}
format. |
ExternalCluster |
build() |
ExternalCluster.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ExternalCluster.Builder |
componentName(String componentName)
The name of the external cluster.
|
ExternalCluster.Builder |
copy(ExternalCluster model) |
ExternalCluster.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ExternalCluster.Builder |
displayName(String displayName)
The user-friendly name for the external cluster.
|
ExternalCluster.Builder |
externalConnectorId(String externalConnectorId)
The OCID of the
external connector.
|
ExternalCluster.Builder |
externalDbSystemId(String externalDbSystemId)
The OCID of the
external DB system that the cluster is a part of.
|
ExternalCluster.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ExternalCluster.Builder |
gridHome(String gridHome)
The directory in which Oracle Grid Infrastructure is installed.
|
ExternalCluster.Builder |
id(String id)
The OCID of the
external cluster.
|
ExternalCluster.Builder |
isFlexCluster(Boolean isFlexCluster)
Indicates whether the cluster is Oracle Flex Cluster or not.
|
ExternalCluster.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
ExternalCluster.Builder |
lifecycleState(ExternalCluster.LifecycleState lifecycleState)
The current lifecycle state of the external cluster.
|
ExternalCluster.Builder |
networkConfigurations(List<ExternalClusterNetworkConfiguration> networkConfigurations)
The list of network address configurations of the external cluster.
|
ExternalCluster.Builder |
ocrFileLocation(String ocrFileLocation)
The location of the Oracle Cluster Registry (OCR).
|
ExternalCluster.Builder |
scanConfigurations(List<ExternalClusterScanListenerConfiguration> scanConfigurations)
The list of Single Client Access Name (SCAN) configurations of the external cluster.
|
ExternalCluster.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ExternalCluster.Builder |
timeCreated(Date timeCreated)
The date and time the external cluster was created.
|
ExternalCluster.Builder |
timeUpdated(Date timeUpdated)
The date and time the external cluster was last updated.
|
ExternalCluster.Builder |
version(String version)
The cluster version.
|
ExternalCluster.Builder |
vipConfigurations(List<ExternalClusterVipConfiguration> vipConfigurations)
The list of Virtual IP (VIP) configurations of the external cluster.
|
public ExternalCluster.Builder id(String id)
The OCID of the external cluster.
id
- the value to setpublic ExternalCluster.Builder displayName(String displayName)
The user-friendly name for the external cluster. The name does not have to be unique.
displayName
- the value to setpublic ExternalCluster.Builder componentName(String componentName)
The name of the external cluster.
componentName
- the value to setpublic ExternalCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ExternalCluster.Builder externalDbSystemId(String externalDbSystemId)
The OCID of the external DB system that the cluster is a part of.
externalDbSystemId
- the value to setpublic ExternalCluster.Builder externalConnectorId(String externalConnectorId)
The OCID of the external connector.
externalConnectorId
- the value to setpublic ExternalCluster.Builder gridHome(String gridHome)
The directory in which Oracle Grid Infrastructure is installed.
gridHome
- the value to setpublic ExternalCluster.Builder isFlexCluster(Boolean isFlexCluster)
Indicates whether the cluster is Oracle Flex Cluster or not.
isFlexCluster
- the value to setpublic ExternalCluster.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the external cluster defined in {"key": "value"}
format. Example: {"bar-key": "value"}
additionalDetails
- the value to setpublic ExternalCluster.Builder lifecycleState(ExternalCluster.LifecycleState lifecycleState)
The current lifecycle state of the external cluster.
lifecycleState
- the value to setpublic ExternalCluster.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic ExternalCluster.Builder networkConfigurations(List<ExternalClusterNetworkConfiguration> networkConfigurations)
The list of network address configurations of the external cluster.
networkConfigurations
- the value to setpublic ExternalCluster.Builder vipConfigurations(List<ExternalClusterVipConfiguration> vipConfigurations)
The list of Virtual IP (VIP) configurations of the external cluster.
vipConfigurations
- the value to setpublic ExternalCluster.Builder scanConfigurations(List<ExternalClusterScanListenerConfiguration> scanConfigurations)
The list of Single Client Access Name (SCAN) configurations of the external cluster.
scanConfigurations
- the value to setpublic ExternalCluster.Builder ocrFileLocation(String ocrFileLocation)
The location of the Oracle Cluster Registry (OCR).
ocrFileLocation
- the value to setpublic ExternalCluster.Builder timeCreated(Date timeCreated)
The date and time the external cluster was created.
timeCreated
- the value to setpublic ExternalCluster.Builder timeUpdated(Date timeUpdated)
The date and time the external cluster was last updated.
timeUpdated
- the value to setpublic ExternalCluster.Builder version(String version)
The cluster version.
version
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ExternalCluster build()
public ExternalCluster.Builder copy(ExternalCluster model)
Copyright © 2016–2024. All rights reserved.