public class RecurrentSchedule extends Object
Constructor and Description |
---|
RecurrentSchedule() |
Modifier and Type | Method and Description |
---|---|
List<String> |
days()
Get the collection of days that the profile takes effect on.
|
List<Integer> |
hours()
Get a collection of hours that the profile takes effect on.
|
List<Integer> |
minutes()
Get a collection of minutes at which the profile takes effect at.
|
String |
timeZone()
Get the timezone for the hours of the profile.
|
RecurrentSchedule |
withDays(List<String> days)
Set the collection of days that the profile takes effect on.
|
RecurrentSchedule |
withHours(List<Integer> hours)
Set a collection of hours that the profile takes effect on.
|
RecurrentSchedule |
withMinutes(List<Integer> minutes)
Set a collection of minutes at which the profile takes effect at.
|
RecurrentSchedule |
withTimeZone(String timeZone)
Set the timezone for the hours of the profile.
|
public String timeZone()
public RecurrentSchedule withTimeZone(String timeZone)
timeZone
- the timeZone value to setpublic List<String> days()
public RecurrentSchedule withDays(List<String> days)
days
- the days value to setpublic List<Integer> hours()
public RecurrentSchedule withHours(List<Integer> hours)
hours
- the hours value to setpublic List<Integer> minutes()
public RecurrentSchedule withMinutes(List<Integer> minutes)
minutes
- the minutes value to setCopyright © 2019. All rights reserved.