Package com.vmware.nsx_policy.model
Class SubClusterInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SubClusterInfo.Builder
-
- Enclosing class:
- SubClusterInfo
public static final class SubClusterInfo.Builder extends java.lang.ObjectBuilder class forSubClusterInfo.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofSubClusterInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubClusterInfobuild()SubClusterInfo.BuildersetDiscoveredNodeIds(java.util.List<java.lang.String> discoveredNodeIds)Discovered node IDs under this sub-cluster.SubClusterInfo.BuildersetSubClusterType(java.lang.String subClusterType)Possible values are:SubClusterInfo.SUB_CLUSTER_TYPE_MANUALSub-cluster-type can be either MANUAL or FAULT_DOMAIN.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSubClusterInfo.
-
-
Method Detail
-
setDiscoveredNodeIds
public SubClusterInfo.Builder setDiscoveredNodeIds(java.util.List<java.lang.String> discoveredNodeIds)
Discovered node IDs under this sub-cluster. This is an optional field.- Parameters:
discoveredNodeIds- New value for the property.
-
setSubClusterType
public SubClusterInfo.Builder setSubClusterType(java.lang.String subClusterType)
Possible values are: Sub-cluster-type can be either MANUAL or FAULT_DOMAIN. This is a mandatory field. Currently, all sub-clusters will be of type MANUAL. In the future, we will provide support for creating a sub-cluster for fault domains in VC. This field indicates the same.- Parameters:
subClusterType- New value for the property.
-
build
public SubClusterInfo build()
-
-