Class ClusterUpdateProperties

java.lang.Object
com.azure.resourcemanager.avs.fluent.models.ClusterUpdateProperties

public final class ClusterUpdateProperties extends Object
The properties of a cluster that may be updated.
  • Constructor Details

    • ClusterUpdateProperties

      public ClusterUpdateProperties()
      Creates an instance of ClusterUpdateProperties class.
  • Method Details

    • clusterSize

      public Integer clusterSize()
      Get the clusterSize property: The cluster size.
      Returns:
      the clusterSize value.
    • withClusterSize

      public ClusterUpdateProperties withClusterSize(Integer clusterSize)
      Set the clusterSize property: The cluster size.
      Parameters:
      clusterSize - the clusterSize value to set.
      Returns:
      the ClusterUpdateProperties object itself.
    • hosts

      public List<String> hosts()
      Get the hosts property: The hosts.
      Returns:
      the hosts value.
    • withHosts

      public ClusterUpdateProperties withHosts(List<String> hosts)
      Set the hosts property: The hosts.
      Parameters:
      hosts - the hosts value to set.
      Returns:
      the ClusterUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.