MaintenanceConfigurationCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. MaintenanceConfigurationCapability
- com.
Implements
public final class MaintenanceConfigurationCapability
implements JsonSerializable<MaintenanceConfigurationCapability>
The maintenance configuration capability.
Constructor Summary
Constructor | Description |
---|---|
MaintenanceConfigurationCapability() |
Creates an instance of Maintenance |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Maintenance |
fromJson(JsonReader jsonReader)
Reads an instance of Maintenance |
String |
name()
Get the name property: Maintenance configuration name. |
String |
reason()
Get the reason property: The reason for the capability not being available. |
Capability |
status()
Get the status property: The status of the capability. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Maintenance |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Boolean |
zoneRedundant()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
MaintenanceConfigurationCapability
public MaintenanceConfigurationCapability()
Creates an instance of MaintenanceConfigurationCapability class.
Method Details
fromJson
public static MaintenanceConfigurationCapability fromJson(JsonReader jsonReader)
Reads an instance of MaintenanceConfigurationCapability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Maintenance configuration name.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public MaintenanceConfigurationCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
zoneRedundant
public Boolean zoneRedundant()
Get the zoneRedundant property: Whether or not zone redundancy is supported for the maintenance configuration.
Returns:
Applies to
Azure SDK for Java