Class ManagementCluster
java.lang.Object
com.azure.resourcemanager.avs.models.CommonClusterProperties
com.azure.resourcemanager.avs.models.ManagementCluster
The properties of a management cluster.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withClusterSize
(Integer clusterSize) Set the clusterSize property: The cluster size.Set the hosts property: The hosts.Methods inherited from class com.azure.resourcemanager.avs.models.CommonClusterProperties
clusterId, clusterSize, hosts, provisioningState
-
Constructor Details
-
ManagementCluster
public ManagementCluster()Creates an instance of ManagementCluster class.
-
-
Method Details
-
withClusterSize
Set the clusterSize property: The cluster size.- Overrides:
withClusterSize
in classCommonClusterProperties
- Parameters:
clusterSize
- the clusterSize value to set.- Returns:
- the CommonClusterProperties object itself.
-
withHosts
Set the hosts property: The hosts.- Overrides:
withHosts
in classCommonClusterProperties
- Parameters:
hosts
- the hosts value to set.- Returns:
- the CommonClusterProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCommonClusterProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-