Class MaintenanceWindowsInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.MaintenanceWindowsInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class MaintenanceWindowsInner
extends com.azure.core.management.ProxyResource
Maintenance windows.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MaintenanceWindowsInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the timeRanges property: The timeRanges property.voidvalidate()Validates the instance.withTimeRanges(List<MaintenanceWindowTimeRange> timeRanges) Set the timeRanges property: The timeRanges property.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
MaintenanceWindowsInner
public MaintenanceWindowsInner()Creates an instance of MaintenanceWindowsInner class.
-
-
Method Details
-
timeRanges
Get the timeRanges property: The timeRanges property.- Returns:
- the timeRanges value.
-
withTimeRanges
Set the timeRanges property: The timeRanges property.- Parameters:
timeRanges- the timeRanges value to set.- Returns:
- the MaintenanceWindowsInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-