CassandraClusterPublicStatusDataCentersItem Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. CassandraClusterPublicStatusDataCentersItem
- com.
Implements
public final class CassandraClusterPublicStatusDataCentersItem
implements JsonSerializable<CassandraClusterPublicStatusDataCentersItem>
The CassandraClusterPublicStatusDataCentersItem model.
Constructor Summary
Constructor | Description |
---|---|
CassandraClusterPublicStatusDataCentersItem() |
Creates an instance of Cassandra |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cassandra |
fromJson(JsonReader jsonReader)
Reads an instance of Cassandra |
String |
name()
Get the name property: The name of this Datacenter. |
List<Cassandra |
nodes()
Get the nodes property: The nodes property. |
List<String> |
seedNodes()
Get the seed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cassandra |
withName(String name)
Set the name property: The name of this Datacenter. |
Cassandra |
withNodes(List<CassandraClusterPublicStatusDataCentersItemNode> nodes)
Set the nodes property: The nodes property. |
Cassandra |
withSeedNodes(List<String> seedNodes)
Set the seed |
Methods inherited from java.lang.Object
Constructor Details
CassandraClusterPublicStatusDataCentersItem
public CassandraClusterPublicStatusDataCentersItem()
Creates an instance of CassandraClusterPublicStatusDataCentersItem class.
Method Details
fromJson
public static CassandraClusterPublicStatusDataCentersItem fromJson(JsonReader jsonReader)
Reads an instance of CassandraClusterPublicStatusDataCentersItem from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of this Datacenter.
Returns:
nodes
public List
Get the nodes property: The nodes property.
Returns:
seedNodes
public List
Get the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public CassandraClusterPublicStatusDataCentersItem withName(String name)
Set the name property: The name of this Datacenter.
Parameters:
Returns:
withNodes
public CassandraClusterPublicStatusDataCentersItem withNodes(List
Set the nodes property: The nodes property.
Parameters:
Returns:
withSeedNodes
public CassandraClusterPublicStatusDataCentersItem withSeedNodes(List
Set the seedNodes property: A list of all seed nodes in the cluster, managed and unmanaged.
Parameters:
Returns:
Applies to
Azure SDK for Java