Class RedisPatchScheduleInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.redis.fluent.models.RedisPatchScheduleInner

public final class RedisPatchScheduleInner extends com.azure.core.management.ProxyResource
Response to put/get patch schedules for Redis cache.
  • Constructor Details

    • RedisPatchScheduleInner

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

    • location

      public String location()
      Get the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • scheduleEntries

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

      public RedisPatchScheduleInner 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 RedisPatchScheduleInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.