RecurrenceSchedule Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. RecurrenceSchedule
- com.
Implements
public final class RecurrenceSchedule
implements JsonSerializable<RecurrenceSchedule>
The recurrence schedule.
Constructor Summary
Constructor | Description |
---|---|
RecurrenceSchedule() |
Creates an instance of Recurrence |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Recurrence |
fromJson(JsonReader jsonReader)
Reads an instance of Recurrence |
List<Integer> |
hours()
Get the hours property: The hours. |
List<Integer> |
minutes()
Get the minutes property: The minutes. |
List<Integer> |
monthDays()
Get the month |
List<Recurrence |
monthlyOccurrences()
Get the monthly |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Days |
weekDays()
Get the week |
Recurrence |
withHours(List<Integer> hours)
Set the hours property: The hours. |
Recurrence |
withMinutes(List<Integer> minutes)
Set the minutes property: The minutes. |
Recurrence |
withMonthDays(List<Integer> monthDays)
Set the month |
Recurrence |
withMonthlyOccurrences(List<RecurrenceScheduleOccurrence> monthlyOccurrences)
Set the monthly |
Recurrence |
withWeekDays(List<DaysOfWeek> weekDays)
Set the week |
Methods inherited from java.lang.Object
Constructor Details
RecurrenceSchedule
public RecurrenceSchedule()
Creates an instance of RecurrenceSchedule class.
Method Details
fromJson
public static RecurrenceSchedule fromJson(JsonReader jsonReader)
Reads an instance of RecurrenceSchedule from the JsonReader.
Parameters:
Returns:
Throws:
hours
public List
Get the hours property: The hours.
Returns:
minutes
public List
Get the minutes property: The minutes.
Returns:
monthDays
public List
Get the monthDays property: The month days.
Returns:
monthlyOccurrences
public List
Get the monthlyOccurrences property: The monthly occurrences.
Returns:
toJson
validate
public void validate()
Validates the instance.
weekDays
public List
Get the weekDays property: The days of the week.
Returns:
withHours
public RecurrenceSchedule withHours(List
Set the hours property: The hours.
Parameters:
Returns:
withMinutes
public RecurrenceSchedule withMinutes(List
Set the minutes property: The minutes.
Parameters:
Returns:
withMonthDays
public RecurrenceSchedule withMonthDays(List
Set the monthDays property: The month days.
Parameters:
Returns:
withMonthlyOccurrences
public RecurrenceSchedule withMonthlyOccurrences(List
Set the monthlyOccurrences property: The monthly occurrences.
Parameters:
Returns:
withWeekDays
public RecurrenceSchedule withWeekDays(List
Set the weekDays property: The days of the week.
Parameters:
Returns:
Applies to
Azure SDK for Java