Class CassandraClusterPublicStatusDataCentersItem
java.lang.Object
com.azure.resourcemanager.cosmos.models.CassandraClusterPublicStatusDataCentersItem
The CassandraClusterPublicStatusDataCentersItem model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CassandraClusterPublicStatusDataCentersItem class. -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The name of this Datacenter.nodes()Get the nodes property: The nodes property.Get the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.voidvalidate()Validates the instance.Set the name property: The name of this Datacenter.Set the nodes property: The nodes property.withSeedNodes(List<String> seedNodes) Set the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.
-
Constructor Details
-
CassandraClusterPublicStatusDataCentersItem
public CassandraClusterPublicStatusDataCentersItem()Creates an instance of CassandraClusterPublicStatusDataCentersItem class.
-
-
Method Details
-
name
Get the name property: The name of this Datacenter.- Returns:
- the name value.
-
withName
Set the name property: The name of this Datacenter.- Parameters:
name- the name value to set.- Returns:
- the CassandraClusterPublicStatusDataCentersItem object itself.
-
seedNodes
Get the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.- Returns:
- the seedNodes value.
-
withSeedNodes
Set the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.- Parameters:
seedNodes- the seedNodes value to set.- Returns:
- the CassandraClusterPublicStatusDataCentersItem object itself.
-
nodes
Get the nodes property: The nodes property.- Returns:
- the nodes value.
-
withNodes
public CassandraClusterPublicStatusDataCentersItem withNodes(List<CassandraClusterPublicStatusDataCentersItemNode> nodes) Set the nodes property: The nodes property.- Parameters:
nodes- the nodes value to set.- Returns:
- the CassandraClusterPublicStatusDataCentersItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-