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.ProxyResourceResponse to put/get patch schedules for Redis cache.
-
-
Constructor Summary
Constructors Constructor Description RedisPatchScheduleInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocation()Get the location property: The geo-location where the resource lives.List<ScheduleEntry>scheduleEntries()Get the scheduleEntries property: List of patch schedules for a Redis cache.voidvalidate()Validates the instance.RedisPatchScheduleInnerwithScheduleEntries(List<ScheduleEntry> scheduleEntries)Set the scheduleEntries property: List of patch schedules for a Redis cache.
-
-
-
Method Detail
-
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.
-
-