Partilhar via


RedisPatchScheduleInner Class

public final class RedisPatchScheduleInner
extends ProxyResource

Response to put/get patch schedules for Redis cache.

Constructor Summary

Constructor Description
RedisPatchScheduleInner()

Creates an instance of RedisPatchScheduleInner class.

Method Summary

Modifier and Type Method and Description
static RedisPatchScheduleInner fromJson(JsonReader jsonReader)

Reads an instance of RedisPatchScheduleInner from the JsonReader.

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<ScheduleEntry> scheduleEntries()

Get the scheduleEntries property: List of patch schedules for a Redis cache.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RedisPatchScheduleInner withScheduleEntries(List<ScheduleEntry> scheduleEntries)

Set the scheduleEntries property: List of patch schedules for a Redis cache.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of RedisPatchScheduleInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RedisPatchScheduleInner.id()

Returns:

the id value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RedisPatchScheduleInner.name()

Returns:

the name value.

scheduleEntries

public List scheduleEntries()

Get the scheduleEntries property: List of patch schedules for a Redis cache.

Returns:

the scheduleEntries value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RedisPatchScheduleInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RedisPatchScheduleInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withScheduleEntries

public RedisPatchScheduleInner withScheduleEntries(List 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.

Applies to