Class CloudDbNode.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.CloudDbNode.Builder
 
- 
- Enclosing class:
- CloudDbNode
 
 public static class CloudDbNode.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic CloudDbNode.Builder id(String id) The OCID of the cloud DB node.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
dbaasIdpublic CloudDbNode.Builder dbaasId(String dbaasId) The OCID of the cloud DB node in DBaas service.- Parameters:
- dbaasId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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
 
 - 
componentNamepublic CloudDbNode.Builder componentName(String componentName) The name of the cloud DB node.- Parameters:
- componentName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CloudDbNode.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
cloudDbSystemIdpublic 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
 
 - 
cloudConnectorIdpublic CloudDbNode.Builder cloudConnectorId(String cloudConnectorId) The OCID of the cloud connector.- Parameters:
- cloudConnectorId- the value to set
- Returns:
- this builder
 
 - 
hostNamepublic CloudDbNode.Builder hostName(String hostName) The host name for the DB node.- Parameters:
- hostName- the value to set
- Returns:
- this builder
 
 - 
cpuCoreCountpublic CloudDbNode.Builder cpuCoreCount(Float cpuCoreCount) The number of CPU cores available on the DB node.- Parameters:
- cpuCoreCount- the value to set
- Returns:
- this builder
 
 - 
memorySizeInGBspublic CloudDbNode.Builder memorySizeInGBs(Float memorySizeInGBs) The total memory in gigabytes (GB) on the DB node.- Parameters:
- memorySizeInGBs- the value to set
- Returns:
- this builder
 
 - 
additionalDetailspublic 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
 
 - 
lifecycleStatepublic CloudDbNode.Builder lifecycleState(CloudDbNode.LifecycleState lifecycleState) The current lifecycle state of the cloud DB node.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic CloudDbNode.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
domainNamepublic CloudDbNode.Builder domainName(String domainName) Name of the domain.- Parameters:
- domainName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic CloudDbNode.Builder timeCreated(Date timeCreated) The date and time the cloud DB node was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic CloudDbNode build() 
 - 
copypublic CloudDbNode.Builder copy(CloudDbNode model) 
 
- 
 
-