MaintenanceWindowsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. MaintenanceWindowsInner
- com.
- com.
public final class MaintenanceWindowsInner
extends ProxyResource
Maintenance windows.
Constructor Summary
Constructor | Description |
---|---|
MaintenanceWindowsInner() |
Creates an instance of Maintenance |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Maintenance |
fromJson(JsonReader jsonReader)
Reads an instance of Maintenance |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
List<Maintenance |
timeRanges()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Maintenance |
withTimeRanges(List<MaintenanceWindowTimeRange> timeRanges)
Set the time |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
MaintenanceWindowsInner
public MaintenanceWindowsInner()
Creates an instance of MaintenanceWindowsInner class.
Method Details
fromJson
public static MaintenanceWindowsInner fromJson(JsonReader jsonReader)
Reads an instance of MaintenanceWindowsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
MaintenanceWindowsInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
MaintenanceWindowsInner.name()Returns:
timeRanges
public List
Get the timeRanges property: The timeRanges property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MaintenanceWindowsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
MaintenanceWindowsInner.type()Returns:
validate
public void validate()
Validates the instance.
withTimeRanges
public MaintenanceWindowsInner withTimeRanges(List
Set the timeRanges property: The timeRanges property.
Parameters:
Returns:
Applies to
Azure SDK for Java