Class CloudDbNodeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudDbNodeSummary.Builder
-
- Enclosing class:
- CloudDbNodeSummary
public static class CloudDbNodeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudDbNodeSummarybuild()CloudDbNodeSummary.BuildercloudConnectorId(String cloudConnectorId)The OCID of the cloud connector.CloudDbNodeSummary.BuildercloudDbSystemId(String cloudDbSystemId)The OCID of the cloud DB system that the DB node is a part of.CloudDbNodeSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.CloudDbNodeSummary.BuildercomponentName(String componentName)The name of the cloud DB node.CloudDbNodeSummary.Buildercopy(CloudDbNodeSummary model)CloudDbNodeSummary.BuilderdbaasId(String dbaasId)The OCID of the cloud DB node in DBaas service.CloudDbNodeSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CloudDbNodeSummary.BuilderdisplayName(String displayName)The user-friendly name for the cloud DB node.CloudDbNodeSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CloudDbNodeSummary.BuilderhostName(String hostName)The host name for the DB node.CloudDbNodeSummary.Builderid(String id)The OCID of the cloud DB node.CloudDbNodeSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.CloudDbNodeSummary.BuilderlifecycleState(CloudDbNode.LifecycleState lifecycleState)The current lifecycle state of the cloud DB node.CloudDbNodeSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CloudDbNodeSummary.BuildertimeCreated(Date timeCreated)The date and time the cloud DB node was created.CloudDbNodeSummary.BuildertimeUpdated(Date timeUpdated)The date and time the cloud DB node was last updated.
-
-
-
Method Detail
-
id
public CloudDbNodeSummary.Builder id(String id)
The OCID of the cloud DB node.- Parameters:
id- the value to set- Returns:
- this builder
-
dbaasId
public CloudDbNodeSummary.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 CloudDbNodeSummary.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 CloudDbNodeSummary.Builder componentName(String componentName)
The name of the cloud DB node.- Parameters:
componentName- the value to set- Returns:
- this builder
-
compartmentId
public CloudDbNodeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudDbNodeSummary.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 CloudDbNodeSummary.Builder cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.- Parameters:
cloudConnectorId- the value to set- Returns:
- this builder
-
hostName
public CloudDbNodeSummary.Builder hostName(String hostName)
The host name for the DB node.- Parameters:
hostName- the value to set- Returns:
- this builder
-
lifecycleState
public CloudDbNodeSummary.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 CloudDbNodeSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public CloudDbNodeSummary.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 CloudDbNodeSummary.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 CloudDbNodeSummary.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 CloudDbNodeSummary.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 CloudDbNodeSummary.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 CloudDbNodeSummary build()
-
copy
public CloudDbNodeSummary.Builder copy(CloudDbNodeSummary model)
-
-