Condividi tramite


RecurrenceSchedule Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.RecurrenceSchedule

Implements

public final class RecurrenceSchedule
implements JsonSerializable<RecurrenceSchedule>

The recurrence schedule.

Method Summary

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

Reads an instance of RecurrenceSchedule from the JsonReader.

List<Integer> hours()

Get the hours property: The hours.

List<Integer> minutes()

Get the minutes property: The minutes.

List<Integer> monthDays()

Get the monthDays property: The month days.

List<RecurrenceScheduleOccurrence> monthlyOccurrences()

Get the monthlyOccurrences property: The monthly occurrences.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<DaysOfWeek> weekDays()

Get the weekDays property: The days of the week.

Methods inherited from java.lang.Object

Method Details

fromJson

public static RecurrenceSchedule fromJson(JsonReader jsonReader)

Reads an instance of RecurrenceSchedule from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the RecurrenceSchedule.

hours

public List<Integer> hours()

Get the hours property: The hours.

Returns:

the hours value.

minutes

public List<Integer> minutes()

Get the minutes property: The minutes.

Returns:

the minutes value.

monthDays

public List<Integer> monthDays()

Get the monthDays property: The month days.

Returns:

the monthDays value.

monthlyOccurrences

public List<RecurrenceScheduleOccurrence> monthlyOccurrences()

Get the monthlyOccurrences property: The monthly occurrences.

Returns:

the monthlyOccurrences value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

weekDays

public List<DaysOfWeek> weekDays()

Get the weekDays property: The days of the week.

Returns:

the weekDays value.

Applies to