Class HostMovementSpec.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of HostMovementSpec.
    • Method Detail

      • setDestination

        public HostMovementSpec.Builder setDestination​(java.lang.String destination)
        This is the policy path of destination sub-cluster to which hosts will be moved to. If this value is null, then we assume the host is moved into the cluster.
        Parameters:
        destination - New value for the property.
      • setDiscoveredNodeIds

        public HostMovementSpec.Builder setDiscoveredNodeIds​(java.util.List<java.lang.String> discoveredNodeIds)
        Discovered node IDs to be moved.
        Parameters:
        discoveredNodeIds - New value for the property.
      • setSource

        public HostMovementSpec.Builder setSource​(java.lang.String source)
        This is the policy path of source sub-cluster from which hosts are moved out
        Parameters:
        source - New value for the property.