WeekDetails Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. WeekDetails
- com.
public final class WeekDetails
Properties of a weekly schedule.
Constructor Summary
| Constructor | Description |
|---|---|
| WeekDetails() |
Creates an instance of Week |
Method Summary
| 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. |
|
Week |
withTime(String time)
Set the time property: The time of the day the schedule will occur. |
|
Week |
withWeekdays(List<String> weekdays)
Set the weekdays property: The days of the week for which the schedule is set (e. |
Methods inherited from java.lang.Object
Constructor Details
WeekDetails
public WeekDetails()
Creates an instance of WeekDetails class.
Method Details
time
public String time()
Get the time property: The time of the day the schedule will occur.
Returns:
validate
public void validate()
Validates the instance.
weekdays
public List<String> weekdays()
Get the weekdays property: The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
Returns:
withTime
public WeekDetails withTime(String time)
Set the time property: The time of the day the schedule will occur.
Parameters:
Returns:
withWeekdays
public WeekDetails withWeekdays(List<String> weekdays)
Set the weekdays property: The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
Parameters:
Returns: