Class ManagementCluster
- java.lang.Object
-
- com.azure.resourcemanager.avs.models.CommonClusterProperties
-
- com.azure.resourcemanager.avs.models.ManagementCluster
-
public final class ManagementCluster extends CommonClusterProperties
The properties of a management cluster.
-
-
Constructor Summary
Constructors Constructor Description ManagementCluster()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.ManagementCluster
withClusterSize(Integer clusterSize)
Set the clusterSize property: The cluster size.ManagementCluster
withHosts(List<String> hosts)
Set the hosts property: The hosts.-
Methods inherited from class com.azure.resourcemanager.avs.models.CommonClusterProperties
clusterId, clusterSize, hosts, provisioningState
-
-
-
-
Method Detail
-
withClusterSize
public ManagementCluster withClusterSize(Integer clusterSize)
Set the clusterSize property: The cluster size.- Overrides:
withClusterSize
in classCommonClusterProperties
- Parameters:
clusterSize
- the clusterSize value to set.- Returns:
- the CommonClusterProperties object itself.
-
withHosts
public ManagementCluster withHosts(List<String> hosts)
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.
-
-