DailySchedule Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.DailySchedule

Implements

public final class DailySchedule
implements JsonSerializable<DailySchedule>

For schedules like: 'recur every day' or 'recur every 3 days'.

Constructor Summary

Constructor Description
DailySchedule()

Creates an instance of DailySchedule class.

Method Summary

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

Reads an instance of DailySchedule from the JsonReader.

int intervalDays()

Get the intervalDays property: Specifies the number of days between each set of occurrences.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DailySchedule withIntervalDays(int intervalDays)

Set the intervalDays property: Specifies the number of days between each set of occurrences.

Methods inherited from java.lang.Object

Constructor Details

DailySchedule

public DailySchedule()

Creates an instance of DailySchedule class.

Method Details

fromJson

public static DailySchedule fromJson(JsonReader jsonReader)

Reads an instance of DailySchedule from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DailySchedule 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.

intervalDays

public int intervalDays()

Get the intervalDays property: Specifies the number of days between each set of occurrences.

Returns:

the intervalDays value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIntervalDays

public DailySchedule withIntervalDays(int intervalDays)

Set the intervalDays property: Specifies the number of days between each set of occurrences.

Parameters:

intervalDays - the intervalDays value to set.

Returns:

the DailySchedule object itself.

Applies to