Class MaintenanceWindowTimeRange
java.lang.Object
com.azure.resourcemanager.synapse.models.MaintenanceWindowTimeRange
Maintenance window time range.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MaintenanceWindowTimeRange class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dayOfWeek property: Day of maintenance window.duration()
Get the duration property: Duration of maintenance window in minutes.Get the startTime property: Start time minutes offset from 12am.void
validate()
Validates the instance.withDayOfWeek
(DayOfWeek dayOfWeek) Set the dayOfWeek property: Day of maintenance window.withDuration
(String duration) Set the duration property: Duration of maintenance window in minutes.withStartTime
(String startTime) Set the startTime property: Start time minutes offset from 12am.
-
Constructor Details
-
MaintenanceWindowTimeRange
public MaintenanceWindowTimeRange()Creates an instance of MaintenanceWindowTimeRange class.
-
-
Method Details
-
dayOfWeek
Get the dayOfWeek property: Day of maintenance window.- Returns:
- the dayOfWeek value.
-
withDayOfWeek
Set the dayOfWeek property: Day of maintenance window.- Parameters:
dayOfWeek
- the dayOfWeek value to set.- Returns:
- the MaintenanceWindowTimeRange object itself.
-
startTime
Get the startTime property: Start time minutes offset from 12am.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time minutes offset from 12am.- Parameters:
startTime
- the startTime value to set.- Returns:
- the MaintenanceWindowTimeRange object itself.
-
duration
Get the duration property: Duration of maintenance window in minutes.- Returns:
- the duration value.
-
withDuration
Set the duration property: Duration of maintenance window in minutes.- Parameters:
duration
- the duration value to set.- Returns:
- the MaintenanceWindowTimeRange object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-