MaintenanceWindowPatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. desktopvirtualization. models. MaintenanceWindowPatchProperties
- com.
Implements
public final class MaintenanceWindowPatchProperties
implements JsonSerializable<MaintenanceWindowPatchProperties>
Maintenance window starting hour and day of week.
Constructor Summary
| Constructor | Description |
|---|---|
| MaintenanceWindowPatchProperties() |
Creates an instance of Maintenance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Day |
dayOfWeek()
Get the day |
|
static
Maintenance |
fromJson(JsonReader jsonReader)
Reads an instance of Maintenance |
| Integer |
hour()
Get the hour property: The update start hour of the day. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Maintenance |
withDayOfWeek(DayOfWeek dayOfWeek)
Set the day |
|
Maintenance |
withHour(Integer hour)
Set the hour property: The update start hour of the day. |
Methods inherited from java.lang.Object
Constructor Details
MaintenanceWindowPatchProperties
public MaintenanceWindowPatchProperties()
Creates an instance of MaintenanceWindowPatchProperties class.
Method Details
dayOfWeek
public DayOfWeek dayOfWeek()
Get the dayOfWeek property: Day of the week.
Returns:
fromJson
public static MaintenanceWindowPatchProperties fromJson(JsonReader jsonReader)
Reads an instance of MaintenanceWindowPatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
hour
public Integer hour()
Get the hour property: The update start hour of the day. (0 - 23).
Returns:
toJson
validate
public void validate()
Validates the instance.
withDayOfWeek
public MaintenanceWindowPatchProperties withDayOfWeek(DayOfWeek dayOfWeek)
Set the dayOfWeek property: Day of the week.
Parameters:
Returns:
withHour
public MaintenanceWindowPatchProperties withHour(Integer hour)
Set the hour property: The update start hour of the day. (0 - 23).
Parameters:
Returns: