public final class MaintenanceWindow extends Object
| Constructor and Description |
|---|
MaintenanceWindow() |
| Modifier and Type | Method and Description |
|---|---|
String |
customWindow()
Get the customWindow property: indicates whether custom window is enabled or disabled.
|
Integer |
dayOfWeek()
Get the dayOfWeek property: day of week for maintenance window.
|
Integer |
startHour()
Get the startHour property: start hour for maintenance window.
|
Integer |
startMinute()
Get the startMinute property: start minute for maintenance window.
|
void |
validate()
Validates the instance.
|
MaintenanceWindow |
withCustomWindow(String customWindow)
Set the customWindow property: indicates whether custom window is enabled or disabled.
|
MaintenanceWindow |
withDayOfWeek(Integer dayOfWeek)
Set the dayOfWeek property: day of week for maintenance window.
|
MaintenanceWindow |
withStartHour(Integer startHour)
Set the startHour property: start hour for maintenance window.
|
MaintenanceWindow |
withStartMinute(Integer startMinute)
Set the startMinute property: start minute for maintenance window.
|
public String customWindow()
public MaintenanceWindow withCustomWindow(String customWindow)
customWindow - the customWindow value to set.public Integer startHour()
public MaintenanceWindow withStartHour(Integer startHour)
startHour - the startHour value to set.public Integer startMinute()
public MaintenanceWindow withStartMinute(Integer startMinute)
startMinute - the startMinute value to set.public Integer dayOfWeek()
public MaintenanceWindow withDayOfWeek(Integer dayOfWeek)
dayOfWeek - the dayOfWeek value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.