共用方式為


WeekDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.devtestlabs.models.WeekDetails

public final class WeekDetails

Properties of a weekly schedule.

Constructor Summary

Constructor Description
WeekDetails()

Creates an instance of WeekDetails class.

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.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.

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:

the time value.

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:

the weekdays value.

withTime

public WeekDetails withTime(String time)

Set the time property: The time of the day the schedule will occur.

Parameters:

time - the time value to set.

Returns:

the WeekDetails object itself.

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:

weekdays - the weekdays value to set.

Returns:

the WeekDetails object itself.

Applies to