ZonePinningCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ZonePinningCapability
- com.
Implements
public final class ZonePinningCapability
implements JsonSerializable<ZonePinningCapability>
The zone pinning capability.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
availabilityZone()
Get the availability |
|
static
Zone |
fromJson(JsonReader jsonReader)
Reads an instance of Zone |
| 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. |
Methods inherited from java.lang.Object
Method Details
availabilityZone
public String availabilityZone()
Get the availabilityZone property: Name of the availability zone.
Returns:
fromJson
public static ZonePinningCapability fromJson(JsonReader jsonReader)
Reads an instance of ZonePinningCapability from the JsonReader.
Parameters:
Returns:
Throws:
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.