public static class RoverClusterSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public RoverClusterSummary.Builder id(String id)
The OCID of RoverCluster.
id
- the value to setpublic RoverClusterSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the RoverCluster.
compartmentId
- the value to setpublic RoverClusterSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic RoverClusterSummary.Builder timeCreated(Date timeCreated)
The time the the RoverCluster was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic RoverClusterSummary.Builder nodes(List<String> nodes)
The nodes that are part of this cluster.
nodes
- the value to setpublic RoverClusterSummary.Builder clusterSize(Integer clusterSize)
Size of the cluster.
clusterSize
- the value to setpublic RoverClusterSummary.Builder clusterType(ClusterType clusterType)
Type of cluster.
clusterType
- the value to setpublic RoverClusterSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the RoverCluster.
lifecycleState
- the value to setpublic RoverClusterSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.
lifecycleStateDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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}}
systemTags
- the value to setpublic RoverClusterSummary build()
public RoverClusterSummary.Builder copy(RoverClusterSummary model)
Copyright © 2016–2024. All rights reserved.