Class AmlFilesystemPropertiesMaintenanceWindow
java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemPropertiesMaintenanceWindow
Start time of a 30-minute weekly maintenance window.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AmlFilesystemPropertiesMaintenanceWindow class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dayOfWeek property: Day of the week on which the maintenance window will occur.Get the timeOfDayUtc property: The time of day (in UTC) to start the maintenance window.void
validate()
Validates the instance.withDayOfWeek
(MaintenanceDayOfWeekType dayOfWeek) Set the dayOfWeek property: Day of the week on which the maintenance window will occur.withTimeOfDayUtc
(String timeOfDayUtc) Set the timeOfDayUtc property: The time of day (in UTC) to start the maintenance window.
-
Constructor Details
-
AmlFilesystemPropertiesMaintenanceWindow
public AmlFilesystemPropertiesMaintenanceWindow()Creates an instance of AmlFilesystemPropertiesMaintenanceWindow class.
-
-
Method Details
-
dayOfWeek
Get the dayOfWeek property: Day of the week on which the maintenance window will occur.- Returns:
- the dayOfWeek value.
-
withDayOfWeek
Set the dayOfWeek property: Day of the week on which the maintenance window will occur.- Parameters:
dayOfWeek
- the dayOfWeek value to set.- Returns:
- the AmlFilesystemPropertiesMaintenanceWindow object itself.
-
timeOfDayUtc
Get the timeOfDayUtc property: The time of day (in UTC) to start the maintenance window.- Returns:
- the timeOfDayUtc value.
-
withTimeOfDayUtc
Set the timeOfDayUtc property: The time of day (in UTC) to start the maintenance window.- Parameters:
timeOfDayUtc
- the timeOfDayUtc value to set.- Returns:
- the AmlFilesystemPropertiesMaintenanceWindow object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-