Class CloudDbNode.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudDbNode.Builder
-
- Enclosing class:
- CloudDbNode
public static class CloudDbNode.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudDbNode.BuilderadditionalDetails(Map<String,String> additionalDetails)The additional details of the cloud DB node defined in {“key”: “value”} format.CloudDbNodebuild()CloudDbNode.BuildercloudConnectorId(String cloudConnectorId)The OCID of the cloud connector.CloudDbNode.BuildercloudDbSystemId(String cloudDbSystemId)The OCID of the cloud DB system that the DB node is a part of.CloudDbNode.BuildercompartmentId(String compartmentId)The OCID of the compartment.CloudDbNode.BuildercomponentName(String componentName)The name of the cloud DB node.CloudDbNode.Buildercopy(CloudDbNode model)CloudDbNode.BuildercpuCoreCount(Float cpuCoreCount)The number of CPU cores available on the DB node.CloudDbNode.BuilderdbaasId(String dbaasId)The OCID of the cloud DB node in DBaas service.CloudDbNode.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CloudDbNode.BuilderdisplayName(String displayName)The user-friendly name for the cloud DB node.CloudDbNode.BuilderdomainName(String domainName)Name of the domain.CloudDbNode.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CloudDbNode.BuilderhostName(String hostName)The host name for the DB node.CloudDbNode.Builderid(String id)The OCID of the cloud DB node.CloudDbNode.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.CloudDbNode.BuilderlifecycleState(CloudDbNode.LifecycleState lifecycleState)The current lifecycle state of the cloud DB node.CloudDbNode.BuildermemorySizeInGBs(Float memorySizeInGBs)The total memory in gigabytes (GB) on the DB node.CloudDbNode.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CloudDbNode.BuildertimeCreated(Date timeCreated)The date and time the cloud DB node was created.CloudDbNode.BuildertimeUpdated(Date timeUpdated)The date and time the cloud DB node was last updated.
-
-
-
Method Detail
-
id
public CloudDbNode.Builder id(String id)
The OCID of the cloud DB node.- Parameters:
id- the value to set- Returns:
- this builder
-
dbaasId
public CloudDbNode.Builder dbaasId(String dbaasId)
The OCID of the cloud DB node in DBaas service.- Parameters:
dbaasId- the value to set- Returns:
- this builder
-
displayName
public CloudDbNode.Builder displayName(String displayName)
The user-friendly name for the cloud DB node.The name does not have to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
componentName
public CloudDbNode.Builder componentName(String componentName)
The name of the cloud DB node.- Parameters:
componentName- the value to set- Returns:
- this builder
-
compartmentId
public CloudDbNode.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudDbNode.Builder cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the DB node is a part of.- Parameters:
cloudDbSystemId- the value to set- Returns:
- this builder
-
cloudConnectorId
public CloudDbNode.Builder cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.- Parameters:
cloudConnectorId- the value to set- Returns:
- this builder
-
hostName
public CloudDbNode.Builder hostName(String hostName)
The host name for the DB node.- Parameters:
hostName- the value to set- Returns:
- this builder
-
cpuCoreCount
public CloudDbNode.Builder cpuCoreCount(Float cpuCoreCount)
The number of CPU cores available on the DB node.- Parameters:
cpuCoreCount- the value to set- Returns:
- this builder
-
memorySizeInGBs
public CloudDbNode.Builder memorySizeInGBs(Float memorySizeInGBs)
The total memory in gigabytes (GB) on the DB node.- Parameters:
memorySizeInGBs- the value to set- Returns:
- this builder
-
additionalDetails
public CloudDbNode.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the cloud DB node defined in {“key”: “value”} format.Example: {“bar-key”: “value”}
- Parameters:
additionalDetails- the value to set- Returns:
- this builder
-
lifecycleState
public CloudDbNode.Builder lifecycleState(CloudDbNode.LifecycleState lifecycleState)
The current lifecycle state of the cloud DB node.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudDbNode.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
domainName
public CloudDbNode.Builder domainName(String domainName)
Name of the domain.- Parameters:
domainName- the value to set- Returns:
- this builder
-
timeCreated
public CloudDbNode.Builder timeCreated(Date timeCreated)
The date and time the cloud DB node was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public CloudDbNode.Builder timeUpdated(Date timeUpdated)
The date and time the cloud DB node was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public CloudDbNode.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 CloudDbNode.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 CloudDbNode.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 CloudDbNode build()
-
copy
public CloudDbNode.Builder copy(CloudDbNode model)
-
-