Class SubClusterInfo.Builder

  • Enclosing class:
    SubClusterInfo

    public static final class SubClusterInfo.Builder
    extends java.lang.Object
    Builder class for SubClusterInfo.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of SubClusterInfo.
    • 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.