Class RecurrenceSchedule
java.lang.Object
com.azure.resourcemanager.appservice.models.RecurrenceSchedule
The recurrence schedule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhours()
Get the hours property: The hours.minutes()
Get the minutes property: The minutes.Get the monthDays property: The month days.Get the monthlyOccurrences property: The monthly occurrences.void
validate()
Validates the instance.weekDays()
Get the weekDays property: The days of the week.Set the hours property: The hours.withMinutes
(List<Integer> minutes) Set the minutes property: The minutes.withMonthDays
(List<Integer> monthDays) Set the monthDays property: The month days.withMonthlyOccurrences
(List<RecurrenceScheduleOccurrence> monthlyOccurrences) Set the monthlyOccurrences property: The monthly occurrences.withWeekDays
(List<DaysOfWeek> weekDays) Set the weekDays property: The days of the week.
-
Constructor Details
-
RecurrenceSchedule
public RecurrenceSchedule()
-
-
Method Details
-
minutes
Get the minutes property: The minutes.- Returns:
- the minutes value.
-
withMinutes
Set the minutes property: The minutes.- Parameters:
minutes
- the minutes value to set.- Returns:
- the RecurrenceSchedule object itself.
-
hours
Get the hours property: The hours.- Returns:
- the hours value.
-
withHours
Set the hours property: The hours.- Parameters:
hours
- the hours value to set.- Returns:
- the RecurrenceSchedule object itself.
-
weekDays
Get the weekDays property: The days of the week.- Returns:
- the weekDays value.
-
withWeekDays
Set the weekDays property: The days of the week.- Parameters:
weekDays
- the weekDays value to set.- Returns:
- the RecurrenceSchedule object itself.
-
monthDays
Get the monthDays property: The month days.- Returns:
- the monthDays value.
-
withMonthDays
Set the monthDays property: The month days.- Parameters:
monthDays
- the monthDays value to set.- Returns:
- the RecurrenceSchedule object itself.
-
monthlyOccurrences
Get the monthlyOccurrences property: The monthly occurrences.- Returns:
- the monthlyOccurrences value.
-
withMonthlyOccurrences
public RecurrenceSchedule withMonthlyOccurrences(List<RecurrenceScheduleOccurrence> monthlyOccurrences) Set the monthlyOccurrences property: The monthly occurrences.- Parameters:
monthlyOccurrences
- the monthlyOccurrences value to set.- Returns:
- the RecurrenceSchedule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-