Class MaintenanceWindowPatchProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.MaintenanceWindowPatchProperties
Maintenance window starting hour and day of week.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MaintenanceWindowPatchProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dayOfWeek property: Day of the week.hour()Get the hour property: The update start hour of the day.voidvalidate()Validates the instance.withDayOfWeek(DayOfWeek dayOfWeek) Set the dayOfWeek property: Day of the week.Set the hour property: The update start hour of the day.
-
Constructor Details
-
MaintenanceWindowPatchProperties
public MaintenanceWindowPatchProperties()Creates an instance of MaintenanceWindowPatchProperties class.
-
-
Method Details
-
hour
Get the hour property: The update start hour of the day. (0 - 23).- Returns:
- the hour value.
-
withHour
Set the hour property: The update start hour of the day. (0 - 23).- Parameters:
hour- the hour value to set.- Returns:
- the MaintenanceWindowPatchProperties object itself.
-
dayOfWeek
Get the dayOfWeek property: Day of the week.- Returns:
- the dayOfWeek value.
-
withDayOfWeek
Set the dayOfWeek property: Day of the week.- Parameters:
dayOfWeek- the dayOfWeek value to set.- Returns:
- the MaintenanceWindowPatchProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-