public final class RecurrenceSchedule extends Object
Constructor and Description |
---|
RecurrenceSchedule() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
validate()
Validates the instance.
|
List<DaysOfWeek> |
weekDays()
Get the weekDays property: The days of the week.
|
RecurrenceSchedule |
withHours(List<Integer> hours)
Set the hours property: The hours.
|
RecurrenceSchedule |
withMinutes(List<Integer> minutes)
Set the minutes property: The minutes.
|
RecurrenceSchedule |
withMonthDays(List<Integer> monthDays)
Set the monthDays property: The month days.
|
RecurrenceSchedule |
withMonthlyOccurrences(List<RecurrenceScheduleOccurrence> monthlyOccurrences)
Set the monthlyOccurrences property: The monthly occurrences.
|
RecurrenceSchedule |
withWeekDays(List<DaysOfWeek> weekDays)
Set the weekDays property: The days of the week.
|
public List<Integer> minutes()
public RecurrenceSchedule withMinutes(List<Integer> minutes)
minutes
- the minutes value to set.public RecurrenceSchedule withHours(List<Integer> hours)
hours
- the hours value to set.public List<DaysOfWeek> weekDays()
public RecurrenceSchedule withWeekDays(List<DaysOfWeek> weekDays)
weekDays
- the weekDays value to set.public List<Integer> monthDays()
public RecurrenceSchedule withMonthDays(List<Integer> monthDays)
monthDays
- the monthDays value to set.public List<RecurrenceScheduleOccurrence> monthlyOccurrences()
public RecurrenceSchedule withMonthlyOccurrences(List<RecurrenceScheduleOccurrence> monthlyOccurrences)
monthlyOccurrences
- the monthlyOccurrences value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.