public static class ClusterNetwork.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public ClusterNetwork.Builder id(String id)
The OCID of the cluster network.
id
- the value to setpublic ClusterNetwork.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the cluster network.
compartmentId
- the value to setpublic ClusterNetwork.Builder hpcIslandId(String hpcIslandId)
The OCID of the hpc island used by the cluster network.
hpcIslandId
- the value to setpublic ClusterNetwork.Builder networkBlockIds(List<String> networkBlockIds)
The list of network block OCIDs of the HPC island.
networkBlockIds
- the value to setpublic 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"}}
definedTags
- the value to setpublic ClusterNetwork.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 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"}
freeformTags
- the value to setpublic ClusterNetwork.Builder instancePools(List<InstancePool> instancePools)
The instance pools in the cluster network.
Each cluster network can have one instance pool.
instancePools
- the value to setpublic ClusterNetwork.Builder placementConfiguration(ClusterNetworkPlacementConfigurationDetails placementConfiguration)
public ClusterNetwork.Builder lifecycleState(ClusterNetwork.LifecycleState lifecycleState)
The current state of the cluster network.
lifecycleState
- the value to setpublic 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
timeCreated
- the value to setpublic 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
timeUpdated
- the value to setpublic ClusterNetwork build()
public ClusterNetwork.Builder copy(ClusterNetwork model)
Copyright © 2016–2023. All rights reserved.