Package com.oracle.bmc.core.model
Class ClusterNetwork.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.ClusterNetwork.Builder
-
- Enclosing class:
- ClusterNetwork
public static class ClusterNetwork.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterNetwork
build()
ClusterNetwork.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the cluster network.ClusterNetwork.Builder
copy(ClusterNetwork model)
ClusterNetwork.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ClusterNetwork.Builder
displayName(String displayName)
A user-friendly name.ClusterNetwork.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ClusterNetwork.Builder
hpcIslandId(String hpcIslandId)
The OCID of the HPC island used by the cluster network.ClusterNetwork.Builder
id(String id)
The OCID of the cluster network.ClusterNetwork.Builder
instancePools(List<InstancePool> instancePools)
The instance pools in the cluster network.ClusterNetwork.Builder
lifecycleState(ClusterNetwork.LifecycleState lifecycleState)
The current state of the cluster network.ClusterNetwork.Builder
networkBlockIds(List<String> networkBlockIds)
The list of network block OCIDs of the HPC island.ClusterNetwork.Builder
placementConfiguration(ClusterNetworkPlacementConfigurationDetails placementConfiguration)
ClusterNetwork.Builder
timeCreated(Date timeCreated)
The date and time the resource was created, in the format defined by RFC3339.ClusterNetwork.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public ClusterNetwork.Builder id(String id)
The OCID of the cluster network.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ClusterNetwork.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the cluster network.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
hpcIslandId
public ClusterNetwork.Builder hpcIslandId(String hpcIslandId)
The OCID of the HPC island used by the cluster network.- Parameters:
hpcIslandId
- the value to set- Returns:
- this builder
-
networkBlockIds
public ClusterNetwork.Builder networkBlockIds(List<String> networkBlockIds)
The list of network block OCIDs of the HPC island.- Parameters:
networkBlockIds
- the value to set- Returns:
- this builder
-
definedTags
public ClusterNetwork.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 ClusterNetwork.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 ClusterNetwork.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 ClusterNetwork.Builder instancePools(List<InstancePool> instancePools)
The instance pools in the cluster network.Each cluster network can have one instance pool.
- Parameters:
instancePools
- the value to set- Returns:
- this builder
-
placementConfiguration
public ClusterNetwork.Builder placementConfiguration(ClusterNetworkPlacementConfigurationDetails placementConfiguration)
-
lifecycleState
public ClusterNetwork.Builder lifecycleState(ClusterNetwork.LifecycleState lifecycleState)
The current state of the cluster network.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public ClusterNetwork.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 ClusterNetwork.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 ClusterNetwork build()
-
copy
public ClusterNetwork.Builder copy(ClusterNetwork model)
-
-