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