public final class WeekDetails extends Object
Constructor and Description |
---|
WeekDetails() |
Modifier and Type | Method and Description |
---|---|
String |
time()
Get the time property: The time of the day the schedule will occur.
|
void |
validate()
Validates the instance.
|
List<String> |
weekdays()
Get the weekdays property: The days of the week for which the schedule is set (e.g.
|
WeekDetails |
withTime(String time)
Set the time property: The time of the day the schedule will occur.
|
WeekDetails |
withWeekdays(List<String> weekdays)
Set the weekdays property: The days of the week for which the schedule is set (e.g.
|
public List<String> weekdays()
public WeekDetails withWeekdays(List<String> weekdays)
weekdays
- the weekdays value to set.public String time()
public WeekDetails withTime(String time)
time
- the time value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.