public final class RecurrentSchedule extends Object
| Constructor and Description |
|---|
RecurrentSchedule() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
days()
Get the days property: the collection of days that the profile takes effect on.
|
List<Integer> |
hours()
Get the hours property: A collection of hours that the profile takes effect on.
|
List<Integer> |
minutes()
Get the minutes property: A collection of minutes at which the profile takes effect at.
|
String |
timeZone()
Get the timeZone property: the timezone for the hours of the profile.
|
void |
validate()
Validates the instance.
|
RecurrentSchedule |
withDays(List<String> days)
Set the days property: the collection of days that the profile takes effect on.
|
RecurrentSchedule |
withHours(List<Integer> hours)
Set the hours property: A collection of hours that the profile takes effect on.
|
RecurrentSchedule |
withMinutes(List<Integer> minutes)
Set the minutes property: A collection of minutes at which the profile takes effect at.
|
RecurrentSchedule |
withTimeZone(String timeZone)
Set the timeZone property: the timezone for the hours of the profile.
|
public String timeZone()
public RecurrentSchedule withTimeZone(String timeZone)
timeZone - the timeZone value to set.public List<String> days()
public RecurrentSchedule withDays(List<String> days)
days - the days value to set.public List<Integer> hours()
public RecurrentSchedule withHours(List<Integer> hours)
hours - the hours value to set.public List<Integer> minutes()
public RecurrentSchedule withMinutes(List<Integer> minutes)
minutes - the minutes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.