public static class ExternalDbNode.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExternalDbNode.Builder |
additionalDetails(Map<String,String> additionalDetails)
The additional details of the external DB node defined in
{"key": "value"}
format. |
ExternalDbNode |
build() |
ExternalDbNode.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ExternalDbNode.Builder |
componentName(String componentName)
The name of the external DB node.
|
ExternalDbNode.Builder |
copy(ExternalDbNode model) |
ExternalDbNode.Builder |
cpuCoreCount(Float cpuCoreCount)
The number of CPU cores available on the DB node.
|
ExternalDbNode.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ExternalDbNode.Builder |
displayName(String displayName)
The user-friendly name for the external DB node.
|
ExternalDbNode.Builder |
domainName(String domainName)
Name of the domain.
|
ExternalDbNode.Builder |
externalConnectorId(String externalConnectorId)
The OCID of the
external connector.
|
ExternalDbNode.Builder |
externalDbSystemId(String externalDbSystemId)
The OCID of the
external DB system that the DB node is a part of.
|
ExternalDbNode.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ExternalDbNode.Builder |
hostName(String hostName)
The host name for the DB node.
|
ExternalDbNode.Builder |
id(String id)
The OCID of the
external DB node.
|
ExternalDbNode.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
ExternalDbNode.Builder |
lifecycleState(ExternalDbNode.LifecycleState lifecycleState)
The current lifecycle state of the external DB node.
|
ExternalDbNode.Builder |
memorySizeInGBs(Float memorySizeInGBs)
The total memory in gigabytes (GB) on the DB node.
|
ExternalDbNode.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ExternalDbNode.Builder |
timeCreated(Date timeCreated)
The date and time the external DB node was created.
|
ExternalDbNode.Builder |
timeUpdated(Date timeUpdated)
The date and time the external DB node was last updated.
|
public ExternalDbNode.Builder id(String id)
The OCID of the external DB node.
id
- the value to setpublic ExternalDbNode.Builder displayName(String displayName)
The user-friendly name for the external DB node. The name does not have to be unique.
displayName
- the value to setpublic ExternalDbNode.Builder componentName(String componentName)
The name of the external DB node.
componentName
- the value to setpublic ExternalDbNode.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ExternalDbNode.Builder externalDbSystemId(String externalDbSystemId)
The OCID of the external DB system that the DB node is a part of.
externalDbSystemId
- the value to setpublic ExternalDbNode.Builder externalConnectorId(String externalConnectorId)
The OCID of the external connector.
externalConnectorId
- the value to setpublic ExternalDbNode.Builder hostName(String hostName)
The host name for the DB node.
hostName
- the value to setpublic ExternalDbNode.Builder cpuCoreCount(Float cpuCoreCount)
The number of CPU cores available on the DB node.
cpuCoreCount
- the value to setpublic ExternalDbNode.Builder memorySizeInGBs(Float memorySizeInGBs)
The total memory in gigabytes (GB) on the DB node.
memorySizeInGBs
- the value to setpublic ExternalDbNode.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the external DB node defined in {"key": "value"}
format. Example: {"bar-key": "value"}
additionalDetails
- the value to setpublic ExternalDbNode.Builder lifecycleState(ExternalDbNode.LifecycleState lifecycleState)
The current lifecycle state of the external DB node.
lifecycleState
- the value to setpublic ExternalDbNode.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic ExternalDbNode.Builder domainName(String domainName)
Name of the domain.
domainName
- the value to setpublic ExternalDbNode.Builder timeCreated(Date timeCreated)
The date and time the external DB node was created.
timeCreated
- the value to setpublic ExternalDbNode.Builder timeUpdated(Date timeUpdated)
The date and time the external DB node was last updated.
timeUpdated
- the value to setpublic ExternalDbNode.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 ExternalDbNode.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 ExternalDbNode.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 ExternalDbNode build()
public ExternalDbNode.Builder copy(ExternalDbNode model)
Copyright © 2016–2024. All rights reserved.