CassandraClusterPublicStatusInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. CassandraClusterPublicStatusInner
- com.
Implements
public final class CassandraClusterPublicStatusInner
implements JsonSerializable<CassandraClusterPublicStatusInner>
Properties of a managed Cassandra cluster public status.
Constructor Summary
Constructor | Description |
---|---|
CassandraClusterPublicStatusInner() |
Creates an instance of Cassandra |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Connection |
connectionErrors()
Get the connection |
List<Cassandra |
dataCenters()
Get the data |
List<Cassandra |
errors()
Get the errors property: List relevant information about any errors about cluster, data center and connection error. |
String |
etag()
Get the etag property: The e |
static
Cassandra |
fromJson(JsonReader jsonReader)
Reads an instance of Cassandra |
Managed |
reaperStatus()
Get the reaper |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cassandra |
withConnectionErrors(List<ConnectionError> connectionErrors)
Set the connection |
Cassandra |
withDataCenters(List<CassandraClusterPublicStatusDataCentersItem> dataCenters)
Set the data |
Cassandra |
withErrors(List<CassandraError> errors)
Set the errors property: List relevant information about any errors about cluster, data center and connection error. |
Cassandra |
withEtag(String etag)
Set the etag property: The e |
Cassandra |
withReaperStatus(ManagedCassandraReaperStatus reaperStatus)
Set the reaper |
Methods inherited from java.lang.Object
Constructor Details
CassandraClusterPublicStatusInner
public CassandraClusterPublicStatusInner()
Creates an instance of CassandraClusterPublicStatusInner class.
Method Details
connectionErrors
public List
Get the connectionErrors property: List relevant information about any connection errors to the Datacenters.
Returns:
dataCenters
public List
Get the dataCenters property: List of the status of each datacenter in this cluster.
Returns:
errors
public List
Get the errors property: List relevant information about any errors about cluster, data center and connection error.
Returns:
etag
public String etag()
Get the etag property: The eTag property.
Returns:
fromJson
public static CassandraClusterPublicStatusInner fromJson(JsonReader jsonReader)
Reads an instance of CassandraClusterPublicStatusInner from the JsonReader.
Parameters:
Returns:
Throws:
reaperStatus
public ManagedCassandraReaperStatus reaperStatus()
Get the reaperStatus property: The reaperStatus property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConnectionErrors
public CassandraClusterPublicStatusInner withConnectionErrors(List
Set the connectionErrors property: List relevant information about any connection errors to the Datacenters.
Parameters:
Returns:
withDataCenters
public CassandraClusterPublicStatusInner withDataCenters(List
Set the dataCenters property: List of the status of each datacenter in this cluster.
Parameters:
Returns:
withErrors
public CassandraClusterPublicStatusInner withErrors(List
Set the errors property: List relevant information about any errors about cluster, data center and connection error.
Parameters:
Returns:
withEtag
public CassandraClusterPublicStatusInner withEtag(String etag)
Set the etag property: The eTag property.
Parameters:
Returns:
withReaperStatus
public CassandraClusterPublicStatusInner withReaperStatus(ManagedCassandraReaperStatus reaperStatus)
Set the reaperStatus property: The reaperStatus property.
Parameters:
Returns:
Applies to
Azure SDK for Java