public final class Recurrence extends Object
| Constructor and Description |
|---|
Recurrence() |
| Modifier and Type | Method and Description |
|---|---|
RecurrenceFrequency |
frequency()
Get the frequency property: the recurrence frequency.
|
RecurrentSchedule |
schedule()
Get the schedule property: the scheduling constraints for when the profile begins.
|
void |
validate()
Validates the instance.
|
Recurrence |
withFrequency(RecurrenceFrequency frequency)
Set the frequency property: the recurrence frequency.
|
Recurrence |
withSchedule(RecurrentSchedule schedule)
Set the schedule property: the scheduling constraints for when the profile begins.
|
public RecurrenceFrequency frequency()
public Recurrence withFrequency(RecurrenceFrequency frequency)
frequency - the frequency value to set.public RecurrentSchedule schedule()
public Recurrence withSchedule(RecurrentSchedule schedule)
schedule - the schedule value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.