public final class ScheduleEntry extends Object
| Constructor and Description |
|---|
ScheduleEntry() |
| Modifier and Type | Method and Description |
|---|---|
DayOfWeek |
dayOfWeek()
Get the dayOfWeek property: Day of the week when a cache can be patched.
|
Duration |
maintenanceWindow()
Get the maintenanceWindow property: ISO8601 timespan specifying how much time cache patching can take.
|
int |
startHourUtc()
Get the startHourUtc property: Start hour after which cache patching can start.
|
void |
validate()
Validates the instance.
|
ScheduleEntry |
withDayOfWeek(DayOfWeek dayOfWeek)
Set the dayOfWeek property: Day of the week when a cache can be patched.
|
ScheduleEntry |
withMaintenanceWindow(Duration maintenanceWindow)
Set the maintenanceWindow property: ISO8601 timespan specifying how much time cache patching can take.
|
ScheduleEntry |
withStartHourUtc(int startHourUtc)
Set the startHourUtc property: Start hour after which cache patching can start.
|
public DayOfWeek dayOfWeek()
public ScheduleEntry withDayOfWeek(DayOfWeek dayOfWeek)
dayOfWeek - the dayOfWeek value to set.public int startHourUtc()
public ScheduleEntry withStartHourUtc(int startHourUtc)
startHourUtc - the startHourUtc value to set.public Duration maintenanceWindow()
public ScheduleEntry withMaintenanceWindow(Duration maintenanceWindow)
maintenanceWindow - the maintenanceWindow value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.