CommonClusterProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.models.CommonClusterProperties

public class CommonClusterProperties

The common properties of a cluster.

Constructor Summary

Constructor Description
CommonClusterProperties()

Creates an instance of CommonClusterProperties class.

Method Summary

Modifier and Type Method and Description
Integer clusterId()

Get the clusterId property: The identity.

Integer clusterSize()

Get the clusterSize property: The cluster size.

List<String> hosts()

Get the hosts property: The hosts.

ClusterProvisioningState provisioningState()

Get the provisioningState property: The state of the cluster provisioning.

void validate()

Validates the instance.

CommonClusterProperties withClusterSize(Integer clusterSize)

Set the clusterSize property: The cluster size.

CommonClusterProperties 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:

the clusterId value.

clusterSize

public Integer clusterSize()

Get the clusterSize property: The cluster size.

Returns:

the clusterSize value.

hosts

public List hosts()

Get the hosts property: The hosts.

Returns:

the hosts value.

provisioningState

public ClusterProvisioningState provisioningState()

Get the provisioningState property: The state of the cluster provisioning.

Returns:

the provisioningState value.

validate

public void validate()

Validates the instance.

withClusterSize

public CommonClusterProperties withClusterSize(Integer clusterSize)

Set the clusterSize property: The cluster size.

Parameters:

clusterSize - the clusterSize value to set.

Returns:

the CommonClusterProperties object itself.

withHosts

public CommonClusterProperties withHosts(List hosts)

Set the hosts property: The hosts.

Parameters:

hosts - the hosts value to set.

Returns:

the CommonClusterProperties object itself.

Applies to