Package com.oracle.bmc.core.model
Class ClusterNetworkSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ClusterNetworkSummary.Builder
-
- Enclosing class:
- ClusterNetworkSummary
public static class ClusterNetworkSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterNetworkSummary
build()
ClusterNetworkSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the cluster netowrk.ClusterNetworkSummary.Builder
copy(ClusterNetworkSummary model)
ClusterNetworkSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ClusterNetworkSummary.Builder
displayName(String displayName)
A user-friendly name.ClusterNetworkSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ClusterNetworkSummary.Builder
id(String id)
The OCID of the cluster network.ClusterNetworkSummary.Builder
instancePools(List<InstancePoolSummary> instancePools)
The instance pools in the cluster network.ClusterNetworkSummary.Builder
lifecycleState(ClusterNetworkSummary.LifecycleState lifecycleState)
The current state of the cluster network.ClusterNetworkSummary.Builder
timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.ClusterNetworkSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public ClusterNetworkSummary.Builder id(String id)
The OCID of the cluster network.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ClusterNetworkSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the cluster netowrk.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public ClusterNetworkSummary.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
-
displayName
public ClusterNetworkSummary.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
-
freeformTags
public ClusterNetworkSummary.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
-
instancePools
public ClusterNetworkSummary.Builder instancePools(List<InstancePoolSummary> instancePools)
The instance pools in the cluster network.- Parameters:
instancePools
- the value to set- Returns:
- this builder
-
lifecycleState
public ClusterNetworkSummary.Builder lifecycleState(ClusterNetworkSummary.LifecycleState lifecycleState)
The current state of the cluster network.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ClusterNetworkSummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ClusterNetworkSummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public ClusterNetworkSummary build()
-
copy
public ClusterNetworkSummary.Builder copy(ClusterNetworkSummary model)
-
-