Class ManagedCassandraReaperStatus

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

public final class ManagedCassandraReaperStatus extends Object implements com.azure.json.JsonSerializable<ManagedCassandraReaperStatus>
The ManagedCassandraReaperStatus model.
  • Constructor Details

    • ManagedCassandraReaperStatus

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

    • healthy

      public Boolean healthy()
      Get the healthy property: The healthy property.
      Returns:
      the healthy value.
    • withHealthy

      public ManagedCassandraReaperStatus withHealthy(Boolean healthy)
      Set the healthy property: The healthy property.
      Parameters:
      healthy - the healthy value to set.
      Returns:
      the ManagedCassandraReaperStatus object itself.
    • repairRunIds

      public Map<String,String> repairRunIds()
      Get the repairRunIds property: Dictionary of <string>.
      Returns:
      the repairRunIds value.
    • withRepairRunIds

      public ManagedCassandraReaperStatus withRepairRunIds(Map<String,String> repairRunIds)
      Set the repairRunIds property: Dictionary of <string>.
      Parameters:
      repairRunIds - the repairRunIds value to set.
      Returns:
      the ManagedCassandraReaperStatus object itself.
    • repairSchedules

      public Map<String,String> repairSchedules()
      Get the repairSchedules property: Dictionary of <string>.
      Returns:
      the repairSchedules value.
    • withRepairSchedules

      public ManagedCassandraReaperStatus withRepairSchedules(Map<String,String> repairSchedules)
      Set the repairSchedules property: Dictionary of <string>.
      Parameters:
      repairSchedules - the repairSchedules value to set.
      Returns:
      the ManagedCassandraReaperStatus 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<ManagedCassandraReaperStatus>
      Throws:
      IOException
    • fromJson

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