Package com.oracle.bmc.rover.model
Class RoverNodeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.rover.model.RoverNodeSummary.Builder
-
- Enclosing class:
- RoverNodeSummary
public static class RoverNodeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoverNodeSummary
build()
RoverNodeSummary.Builder
clusterId(String clusterId)
The cluster ID if the node is part of a cluster.RoverNodeSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the RoverNode.RoverNodeSummary.Builder
copy(RoverNodeSummary model)
RoverNodeSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.RoverNodeSummary.Builder
displayName(String displayName)
A user-friendly name.RoverNodeSummary.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.RoverNodeSummary.Builder
id(String id)
The OCID of the RoverNode.RoverNodeSummary.Builder
lifecycleState(LifecycleState lifecycleState)
The current state of the RoverNode.RoverNodeSummary.Builder
lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.RoverNodeSummary.Builder
nodeType(NodeType nodeType)
The type of node indicating if it belongs to a clusterRoverNodeSummary.Builder
serialNumber(String serialNumber)
Serial number of the node.RoverNodeSummary.Builder
shape(String shape)
The shape of the node.RoverNodeSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.RoverNodeSummary.Builder
timeCreated(Date timeCreated)
The time the the RoverNode was created.
-
-
-
Method Detail
-
id
public RoverNodeSummary.Builder id(String id)
The OCID of the RoverNode.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public RoverNodeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the RoverNode.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
clusterId
public RoverNodeSummary.Builder clusterId(String clusterId)
The cluster ID if the node is part of a cluster.- Parameters:
clusterId
- the value to set- Returns:
- this builder
-
serialNumber
public RoverNodeSummary.Builder serialNumber(String serialNumber)
Serial number of the node.- Parameters:
serialNumber
- the value to set- Returns:
- this builder
-
nodeType
public RoverNodeSummary.Builder nodeType(NodeType nodeType)
The type of node indicating if it belongs to a cluster- Parameters:
nodeType
- the value to set- Returns:
- this builder
-
shape
public RoverNodeSummary.Builder shape(String shape)
The shape of the node.- Parameters:
shape
- the value to set- Returns:
- this builder
-
displayName
public RoverNodeSummary.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 RoverNodeSummary.Builder timeCreated(Date timeCreated)
The time the the RoverNode was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public RoverNodeSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the RoverNode.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public RoverNodeSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
freeformTags
public RoverNodeSummary.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 RoverNodeSummary.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 RoverNodeSummary.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 RoverNodeSummary build()
-
copy
public RoverNodeSummary.Builder copy(RoverNodeSummary model)
-
-