Class CassandraClusterPublicStatusInner
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.CassandraClusterPublicStatusInner
Properties of a managed Cassandra cluster public status.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CassandraClusterPublicStatusInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionErrors property: List relevant information about any connection errors to the Datacenters.Get the dataCenters property: List of the status of each datacenter in this cluster.errors()Get the errors property: List relevant information about any errors about cluster, data center and connection error.etag()Get the etag property: The eTag property.Get the reaperStatus property: The reaperStatus property.voidvalidate()Validates the instance.withConnectionErrors(List<ConnectionError> connectionErrors) Set the connectionErrors property: List relevant information about any connection errors to the Datacenters.withDataCenters(List<CassandraClusterPublicStatusDataCentersItem> dataCenters) Set the dataCenters property: List of the status of each datacenter in this cluster.withErrors(List<CassandraError> errors) Set the errors property: List relevant information about any errors about cluster, data center and connection error.Set the etag property: The eTag property.withReaperStatus(ManagedCassandraReaperStatus reaperStatus) Set the reaperStatus property: The reaperStatus property.
-
Constructor Details
-
CassandraClusterPublicStatusInner
public CassandraClusterPublicStatusInner()Creates an instance of CassandraClusterPublicStatusInner class.
-
-
Method Details
-
etag
Get the etag property: The eTag property.- Returns:
- the etag value.
-
withEtag
Set the etag property: The eTag property.- Parameters:
etag- the etag value to set.- Returns:
- the CassandraClusterPublicStatusInner object itself.
-
reaperStatus
Get the reaperStatus property: The reaperStatus property.- Returns:
- the reaperStatus value.
-
withReaperStatus
public CassandraClusterPublicStatusInner withReaperStatus(ManagedCassandraReaperStatus reaperStatus) Set the reaperStatus property: The reaperStatus property.- Parameters:
reaperStatus- the reaperStatus value to set.- Returns:
- the CassandraClusterPublicStatusInner object itself.
-
connectionErrors
Get the connectionErrors property: List relevant information about any connection errors to the Datacenters.- Returns:
- the connectionErrors value.
-
withConnectionErrors
public CassandraClusterPublicStatusInner withConnectionErrors(List<ConnectionError> connectionErrors) Set the connectionErrors property: List relevant information about any connection errors to the Datacenters.- Parameters:
connectionErrors- the connectionErrors value to set.- Returns:
- the CassandraClusterPublicStatusInner object itself.
-
errors
Get the errors property: List relevant information about any errors about cluster, data center and connection error.- Returns:
- the errors value.
-
withErrors
Set the errors property: List relevant information about any errors about cluster, data center and connection error.- Parameters:
errors- the errors value to set.- Returns:
- the CassandraClusterPublicStatusInner object itself.
-
dataCenters
Get the dataCenters property: List of the status of each datacenter in this cluster.- Returns:
- the dataCenters value.
-
withDataCenters
public CassandraClusterPublicStatusInner withDataCenters(List<CassandraClusterPublicStatusDataCentersItem> dataCenters) Set the dataCenters property: List of the status of each datacenter in this cluster.- Parameters:
dataCenters- the dataCenters value to set.- Returns:
- the CassandraClusterPublicStatusInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-