Package com.oracle.bmc.rover.model
Class RoverClusterSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.rover.model.RoverClusterSummary.Builder
-
- Enclosing class:
- RoverClusterSummary
public static class RoverClusterSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoverClusterSummary
build()
RoverClusterSummary.Builder
clusterSize(Integer clusterSize)
Size of the cluster.RoverClusterSummary.Builder
clusterType(ClusterType clusterType)
Type of cluster.RoverClusterSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the RoverCluster.RoverClusterSummary.Builder
copy(RoverClusterSummary model)
RoverClusterSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.RoverClusterSummary.Builder
displayName(String displayName)
A user-friendly name.RoverClusterSummary.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.RoverClusterSummary.Builder
id(String id)
The OCID of RoverCluster.RoverClusterSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the RoverCluster.RoverClusterSummary.Builder
lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.RoverClusterSummary.Builder
nodes(List<String> nodes)
The nodes that are part of this cluster.RoverClusterSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.RoverClusterSummary.Builder
timeCreated(Date timeCreated)
The time the the RoverCluster was created.
-
-
-
Method Detail
-
id
public RoverClusterSummary.Builder id(String id)
The OCID of RoverCluster.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public RoverClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the RoverCluster.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public RoverClusterSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public RoverClusterSummary.Builder timeCreated(Date timeCreated)
The time the the RoverCluster was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
nodes
public RoverClusterSummary.Builder nodes(List<String> nodes)
The nodes that are part of this cluster.- Parameters:
nodes
- the value to set- Returns:
- this builder
-
clusterSize
public RoverClusterSummary.Builder clusterSize(Integer clusterSize)
Size of the cluster.- Parameters:
clusterSize
- the value to set- Returns:
- this builder
-
clusterType
public RoverClusterSummary.Builder clusterType(ClusterType clusterType)
Type of cluster.- Parameters:
clusterType
- the value to set- Returns:
- this builder
-
lifecycleState
public RoverClusterSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the RoverCluster.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public RoverClusterSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
freeformTags
public RoverClusterSummary.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.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 RoverClusterSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public RoverClusterSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public RoverClusterSummary build()
-
copy
public RoverClusterSummary.Builder copy(RoverClusterSummary model)
-
-