public final class RecurrenceScheduleOccurrence extends Object
Constructor and Description |
---|
RecurrenceScheduleOccurrence() |
Modifier and Type | Method and Description |
---|---|
DayOfWeek |
day()
Get the day property: The day of the week.
|
Integer |
occurrence()
Get the occurrence property: The occurrence.
|
void |
validate()
Validates the instance.
|
RecurrenceScheduleOccurrence |
withDay(DayOfWeek day)
Set the day property: The day of the week.
|
RecurrenceScheduleOccurrence |
withOccurrence(Integer occurrence)
Set the occurrence property: The occurrence.
|
public DayOfWeek day()
public RecurrenceScheduleOccurrence withDay(DayOfWeek day)
day
- the day value to set.public Integer occurrence()
public RecurrenceScheduleOccurrence withOccurrence(Integer occurrence)
occurrence
- the occurrence value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.