Class ScheduleEntries

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

public final class ScheduleEntries extends Object implements com.azure.json.JsonSerializable<ScheduleEntries>
List of patch schedules for a Redis cache.
  • Constructor Details

    • ScheduleEntries

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

    • scheduleEntries

      public List<ScheduleEntry> scheduleEntries()
      Get the scheduleEntries property: List of patch schedules for a Redis cache.
      Returns:
      the scheduleEntries value.
    • withScheduleEntries

      public ScheduleEntries withScheduleEntries(List<ScheduleEntry> scheduleEntries)
      Set the scheduleEntries property: List of patch schedules for a Redis cache.
      Parameters:
      scheduleEntries - the scheduleEntries value to set.
      Returns:
      the ScheduleEntries 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<ScheduleEntries>
      Throws:
      IOException
    • fromJson

      public static ScheduleEntries fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ScheduleEntries from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ScheduleEntries if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ScheduleEntries.