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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleEntries
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ScheduleEntries from the JsonReader.Get the scheduleEntries property: List of patch schedules for a Redis cache.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withScheduleEntries
(List<ScheduleEntry> scheduleEntries) Set the scheduleEntries property: List of patch schedules for a Redis cache.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ScheduleEntries
public ScheduleEntries()Creates an instance of ScheduleEntries class.
-
-
Method Details
-
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 ScheduleEntries object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<ScheduleEntries>
- Throws:
IOException
-
fromJson
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.
-