EditionCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. EditionCapability
- com.
Implements
public final class EditionCapability
implements JsonSerializable<EditionCapability>
The edition capability.
Constructor Summary
Constructor | Description |
---|---|
EditionCapability() |
Creates an instance of Edition |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Edition |
fromJson(JsonReader jsonReader)
Reads an instance of Edition |
String |
name()
Get the name property: The database edition name. |
Read |
readScale()
Get the read |
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. |
List<Service |
supportedServiceLevelObjectives()
Get the supported |
List<Storage |
supportedStorageCapabilities()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Edition |
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
EditionCapability
public EditionCapability()
Creates an instance of EditionCapability class.
Method Details
fromJson
public static EditionCapability fromJson(JsonReader jsonReader)
Reads an instance of EditionCapability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The database edition name.
Returns:
readScale
public ReadScaleCapability readScale()
Get the readScale property: The read scale capability for the edition.
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:
supportedServiceLevelObjectives
public List
Get the supportedServiceLevelObjectives property: The list of supported service objectives for the edition.
Returns:
supportedStorageCapabilities
public List
Get the supportedStorageCapabilities property: The list of supported storage capabilities for this edition.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public EditionCapability 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 edition.
Returns:
Applies to
Azure SDK for Java