Class RedisPatchScheduleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.redis.fluent.models.RedisPatchScheduleInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class RedisPatchScheduleInner
extends com.azure.core.management.ProxyResource
Response to put/get patch schedules for Redis cache.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RedisPatchScheduleInner class. -
Method Summary
Modifier and TypeMethodDescriptionlocation()Get the location property: The geo-location where the resource lives.Get the scheduleEntries property: List of patch schedules for a Redis cache.voidvalidate()Validates the instance.withScheduleEntries(List<ScheduleEntry> scheduleEntries) Set the scheduleEntries property: List of patch schedules for a Redis cache.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
RedisPatchScheduleInner
public RedisPatchScheduleInner()Creates an instance of RedisPatchScheduleInner class.
-
-
Method Details
-
location
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
scheduleEntries
Get the scheduleEntries property: List of patch schedules for a Redis cache.- Returns:
- the scheduleEntries value.
-
withScheduleEntries
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.
-