CassandraClusterPublicStatusDataCentersItem Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.CassandraClusterPublicStatusDataCentersItem

Implements

public final class CassandraClusterPublicStatusDataCentersItem
implements JsonSerializable<CassandraClusterPublicStatusDataCentersItem>

The CassandraClusterPublicStatusDataCentersItem model.

Method Summary

Modifier and Type Method and Description
static CassandraClusterPublicStatusDataCentersItem fromJson(JsonReader jsonReader)

Reads an instance of CassandraClusterPublicStatusDataCentersItem from the JsonReader.

String name()

Get the name property: The name of this Datacenter.

List<CassandraClusterPublicStatusDataCentersItemNode> nodes()

Get the nodes property: The nodes property.

List<String> seedNodes()

Get the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static CassandraClusterPublicStatusDataCentersItem fromJson(JsonReader jsonReader)

Reads an instance of CassandraClusterPublicStatusDataCentersItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CassandraClusterPublicStatusDataCentersItem if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CassandraClusterPublicStatusDataCentersItem.

name

public String name()

Get the name property: The name of this Datacenter.

Returns:

the name value.

nodes

public List<CassandraClusterPublicStatusDataCentersItemNode> nodes()

Get the nodes property: The nodes property.

Returns:

the nodes value.

seedNodes

public List<String> seedNodes()

Get the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.

Returns:

the seedNodes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to