public static class ExternalClusterInstance.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExternalClusterInstance.Builder |
adrHomeDirectory(String adrHomeDirectory)
The Automatic Diagnostic Repository (ADR) home directory for the cluster instance.
|
ExternalClusterInstance |
build() |
ExternalClusterInstance.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ExternalClusterInstance.Builder |
componentName(String componentName)
The name of the external cluster instance.
|
ExternalClusterInstance.Builder |
copy(ExternalClusterInstance model) |
ExternalClusterInstance.Builder |
crsBaseDirectory(String crsBaseDirectory)
The Oracle base location of Cluster Ready Services (CRS).
|
ExternalClusterInstance.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ExternalClusterInstance.Builder |
displayName(String displayName)
The user-friendly name for the cluster instance.
|
ExternalClusterInstance.Builder |
externalClusterId(String externalClusterId)
The OCID of the
external cluster that the cluster instance belongs to.
|
ExternalClusterInstance.Builder |
externalConnectorId(String externalConnectorId)
The OCID of the
external connector.
|
ExternalClusterInstance.Builder |
externalDbNodeId(String externalDbNodeId)
The OCID of the
external DB node.
|
ExternalClusterInstance.Builder |
externalDbSystemId(String externalDbSystemId)
The OCID of the
external DB system that the cluster instance is a part of.
|
ExternalClusterInstance.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ExternalClusterInstance.Builder |
hostName(String hostName)
The name of the host on which the cluster instance is running.
|
ExternalClusterInstance.Builder |
id(String id)
The OCID of the
external cluster instance.
|
ExternalClusterInstance.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
ExternalClusterInstance.Builder |
lifecycleState(ExternalClusterInstance.LifecycleState lifecycleState)
The current lifecycle state of the external cluster instance.
|
ExternalClusterInstance.Builder |
nodeRole(ExternalClusterInstance.NodeRole nodeRole)
The role of the cluster node.
|
ExternalClusterInstance.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ExternalClusterInstance.Builder |
timeCreated(Date timeCreated)
The date and time the external cluster instance was created.
|
ExternalClusterInstance.Builder |
timeUpdated(Date timeUpdated)
The date and time the external cluster instance was last updated.
|
public ExternalClusterInstance.Builder id(String id)
The OCID of the external cluster instance.
id
- the value to setpublic ExternalClusterInstance.Builder displayName(String displayName)
The user-friendly name for the cluster instance. The name does not have to be unique.
displayName
- the value to setpublic ExternalClusterInstance.Builder componentName(String componentName)
The name of the external cluster instance.
componentName
- the value to setpublic ExternalClusterInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ExternalClusterInstance.Builder externalClusterId(String externalClusterId)
The OCID of the external cluster that the cluster instance belongs to.
externalClusterId
- the value to setpublic ExternalClusterInstance.Builder externalDbSystemId(String externalDbSystemId)
The OCID of the external DB system that the cluster instance is a part of.
externalDbSystemId
- the value to setpublic ExternalClusterInstance.Builder externalDbNodeId(String externalDbNodeId)
The OCID of the external DB node.
externalDbNodeId
- the value to setpublic ExternalClusterInstance.Builder externalConnectorId(String externalConnectorId)
The OCID of the external connector.
externalConnectorId
- the value to setpublic ExternalClusterInstance.Builder hostName(String hostName)
The name of the host on which the cluster instance is running.
hostName
- the value to setpublic ExternalClusterInstance.Builder nodeRole(ExternalClusterInstance.NodeRole nodeRole)
The role of the cluster node.
nodeRole
- the value to setpublic ExternalClusterInstance.Builder crsBaseDirectory(String crsBaseDirectory)
The Oracle base location of Cluster Ready Services (CRS).
crsBaseDirectory
- the value to setpublic ExternalClusterInstance.Builder adrHomeDirectory(String adrHomeDirectory)
The Automatic Diagnostic Repository (ADR) home directory for the cluster instance.
adrHomeDirectory
- the value to setpublic ExternalClusterInstance.Builder lifecycleState(ExternalClusterInstance.LifecycleState lifecycleState)
The current lifecycle state of the external cluster instance.
lifecycleState
- the value to setpublic ExternalClusterInstance.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic ExternalClusterInstance.Builder timeCreated(Date timeCreated)
The date and time the external cluster instance was created.
timeCreated
- the value to setpublic ExternalClusterInstance.Builder timeUpdated(Date timeUpdated)
The date and time the external cluster instance was last updated.
timeUpdated
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ExternalClusterInstance build()
public ExternalClusterInstance.Builder copy(ExternalClusterInstance model)
Copyright © 2016–2024. All rights reserved.