RedisPatchScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. redis. fluent. models. RedisPatchScheduleInner
- com.
- com.
public final class RedisPatchScheduleInner
extends ProxyResource
Response to put/get patch schedules for Redis cache.
Constructor Summary
Constructor | Description |
---|---|
RedisPatchScheduleInner() |
Creates an instance of Redis |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Redis |
fromJson(JsonReader jsonReader)
Reads an instance of Redis |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
location()
Get the location property: The geo-location where the resource lives. |
String |
name()
Get the name property: The name of the resource. |
List<Schedule |
scheduleEntries()
Get the schedule |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Redis |
withScheduleEntries(List<ScheduleEntry> scheduleEntries)
Set the schedule |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RedisPatchScheduleInner
public RedisPatchScheduleInner()
Creates an instance of RedisPatchScheduleInner class.
Method Details
fromJson
public static RedisPatchScheduleInner fromJson(JsonReader jsonReader)
Reads an instance of RedisPatchScheduleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RedisPatchScheduleInner.id()Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RedisPatchScheduleInner.name()Returns:
scheduleEntries
public List
Get the scheduleEntries property: List of patch schedules for a Redis cache.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RedisPatchScheduleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RedisPatchScheduleInner.type()Returns:
validate
public void validate()
Validates the instance.
withScheduleEntries
public RedisPatchScheduleInner withScheduleEntries(List
Set the scheduleEntries property: List of patch schedules for a Redis cache.
Parameters:
Returns:
Applies to
Azure SDK for Java