public final class MaintenanceWindowTimeRange extends Object
Constructor and Description |
---|
MaintenanceWindowTimeRange() |
Modifier and Type | Method and Description |
---|---|
DayOfWeek |
dayOfWeek()
Get the dayOfWeek property: Day of maintenance window.
|
String |
duration()
Get the duration property: Duration of maintenance window in minutes.
|
String |
startTime()
Get the startTime property: Start time minutes offset from 12am.
|
void |
validate()
Validates the instance.
|
MaintenanceWindowTimeRange |
withDayOfWeek(DayOfWeek dayOfWeek)
Set the dayOfWeek property: Day of maintenance window.
|
MaintenanceWindowTimeRange |
withDuration(String duration)
Set the duration property: Duration of maintenance window in minutes.
|
MaintenanceWindowTimeRange |
withStartTime(String startTime)
Set the startTime property: Start time minutes offset from 12am.
|
public DayOfWeek dayOfWeek()
public MaintenanceWindowTimeRange withDayOfWeek(DayOfWeek dayOfWeek)
dayOfWeek
- the dayOfWeek value to set.public String startTime()
public MaintenanceWindowTimeRange withStartTime(String startTime)
startTime
- the startTime value to set.public String duration()
public MaintenanceWindowTimeRange withDuration(String duration)
duration
- the duration 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.