Class CassandraClusterPublicStatusInner
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.CassandraClusterPublicStatusInner
-
public final class CassandraClusterPublicStatusInner extends Object
Properties of a managed Cassandra cluster public status.
-
-
Constructor Summary
Constructors Constructor Description CassandraClusterPublicStatusInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConnectionError>connectionErrors()Get the connectionErrors property: List relevant information about any connection errors to the Datacenters.List<CassandraClusterPublicStatusDataCentersItem>dataCenters()Get the dataCenters property: List of the status of each datacenter in this cluster.Stringetag()Get the etag property: The eTag property.ManagedCassandraReaperStatusreaperStatus()Get the reaperStatus property: The reaperStatus property.voidvalidate()Validates the instance.CassandraClusterPublicStatusInnerwithConnectionErrors(List<ConnectionError> connectionErrors)Set the connectionErrors property: List relevant information about any connection errors to the Datacenters.CassandraClusterPublicStatusInnerwithDataCenters(List<CassandraClusterPublicStatusDataCentersItem> dataCenters)Set the dataCenters property: List of the status of each datacenter in this cluster.CassandraClusterPublicStatusInnerwithEtag(String etag)Set the etag property: The eTag property.CassandraClusterPublicStatusInnerwithReaperStatus(ManagedCassandraReaperStatus reaperStatus)Set the reaperStatus property: The reaperStatus property.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: The eTag property.- Returns:
- the etag value.
-
withEtag
public CassandraClusterPublicStatusInner withEtag(String etag)
Set the etag property: The eTag property.- Parameters:
etag- the etag value to set.- Returns:
- the CassandraClusterPublicStatusInner object itself.
-
reaperStatus
public ManagedCassandraReaperStatus 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
public List<ConnectionError> 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.
-
dataCenters
public List<CassandraClusterPublicStatusDataCentersItem> 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.
-
-