Class CommonClusterProperties
java.lang.Object
com.azure.resourcemanager.avs.models.CommonClusterProperties
- Direct Known Subclasses:
ClusterProperties
,ManagementCluster
The common properties of a cluster.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CommonClusterProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clusterId property: The identity.Get the clusterSize property: The cluster size.hosts()
Get the hosts property: The hosts.Get the provisioningState property: The state of the cluster provisioning.void
validate()
Validates the instance.withClusterSize
(Integer clusterSize) Set the clusterSize property: The cluster size.Set the hosts property: The hosts.
-
Constructor Details
-
CommonClusterProperties
public CommonClusterProperties()Creates an instance of CommonClusterProperties 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 CommonClusterProperties object itself.
-
provisioningState
Get the provisioningState property: The state of the cluster provisioning.- Returns:
- the provisioningState value.
-
clusterId
Get the clusterId property: The identity.- Returns:
- the clusterId value.
-
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 CommonClusterProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-