Class ClusterUpdate
java.lang.Object
com.azure.resourcemanager.avs.models.ClusterUpdate
An update of a cluster resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the clusterSize property: The cluster size.hosts()
Get the hosts property: The hosts.void
validate()
Validates the instance.withClusterSize
(Integer clusterSize) Set the clusterSize property: The cluster size.Set the hosts property: The hosts.
-
Constructor Details
-
ClusterUpdate
public ClusterUpdate()Creates an instance of ClusterUpdate class.
-
-
Method Details
-
clusterSize
Get the clusterSize property: The cluster size.- Returns:
- the clusterSize value.
-
withClusterSize
Set the clusterSize property: The cluster size.- Parameters:
clusterSize
- the clusterSize value to set.- Returns:
- the ClusterUpdate object itself.
-
hosts
Get the hosts property: The hosts.- Returns:
- the hosts value.
-
withHosts
Set the hosts property: The hosts.- Parameters:
hosts
- the hosts value to set.- Returns:
- the ClusterUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-