Class DailySchedule
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.DailySchedule
-
public final class DailySchedule extends Object
The DailySchedule model.
-
-
Constructor Summary
Constructors Constructor Description DailySchedule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OffsetDateTime>
scheduleRunTimes()
Get the scheduleRunTimes property: List of times of day this schedule has to be run.void
validate()
Validates the instance.DailySchedule
withScheduleRunTimes(List<OffsetDateTime> scheduleRunTimes)
Set the scheduleRunTimes property: List of times of day this schedule has to be run.
-
-
-
Method Detail
-
scheduleRunTimes
public List<OffsetDateTime> scheduleRunTimes()
Get the scheduleRunTimes property: List of times of day this schedule has to be run.- Returns:
- the scheduleRunTimes value.
-
withScheduleRunTimes
public DailySchedule withScheduleRunTimes(List<OffsetDateTime> scheduleRunTimes)
Set the scheduleRunTimes property: List of times of day this schedule has to be run.- Parameters:
scheduleRunTimes
- the scheduleRunTimes value to set.- Returns:
- the DailySchedule object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-