CommonClusterProperties Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. CommonClusterProperties
- com.
public class CommonClusterProperties
The common properties of a cluster.
Constructor Summary
Constructor | Description |
---|---|
CommonClusterProperties() |
Creates an instance of Common |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
clusterId()
Get the cluster |
Integer |
clusterSize()
Get the cluster |
List<String> |
hosts()
Get the hosts property: The hosts. |
Cluster |
provisioningState()
Get the provisioning |
void |
validate()
Validates the instance. |
Common |
withClusterSize(Integer clusterSize)
Set the cluster |
Common |
withHosts(List<String> hosts)
Set the hosts property: The hosts. |
Methods inherited from java.lang.Object
Constructor Details
CommonClusterProperties
public CommonClusterProperties()
Creates an instance of CommonClusterProperties class.
Method Details
clusterId
public Integer clusterId()
Get the clusterId property: The identity.
Returns:
clusterSize
public Integer clusterSize()
Get the clusterSize property: The cluster size.
Returns:
hosts
public List
Get the hosts property: The hosts.
Returns:
provisioningState
public ClusterProvisioningState provisioningState()
Get the provisioningState property: The state of the cluster provisioning.
Returns:
validate
public void validate()
Validates the instance.
withClusterSize
public CommonClusterProperties withClusterSize(Integer clusterSize)
Set the clusterSize property: The cluster size.
Parameters:
Returns:
withHosts
public CommonClusterProperties withHosts(List
Set the hosts property: The hosts.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for