Class CassandraClusterPublicStatusInner

java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.CassandraClusterPublicStatusInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<CassandraClusterPublicStatusInner>

public final class CassandraClusterPublicStatusInner extends Object implements com.azure.json.JsonSerializable<CassandraClusterPublicStatusInner>
Properties of a managed Cassandra cluster public status.
  • Constructor Details

    • CassandraClusterPublicStatusInner

      public CassandraClusterPublicStatusInner()
      Creates an instance of CassandraClusterPublicStatusInner class.
  • Method Details

    • 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.
    • errors

      public List<CassandraError> 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

      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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CassandraClusterPublicStatusInner>
      Throws:
      IOException
    • fromJson

      public static CassandraClusterPublicStatusInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of CassandraClusterPublicStatusInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of CassandraClusterPublicStatusInner 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 CassandraClusterPublicStatusInner.