StorageCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. StorageCapability
- com.
Implements
public final class StorageCapability
implements JsonSerializable<StorageCapability>
The storage account type capability.
Constructor Summary
Constructor | Description |
---|---|
StorageCapability() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
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. |
Storage |
storageAccountType()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Storage |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
StorageCapability
public StorageCapability()
Creates an instance of StorageCapability class.
Method Details
fromJson
public static StorageCapability fromJson(JsonReader jsonReader)
Reads an instance of StorageCapability 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:
storageAccountType
public StorageCapabilityStorageAccountType storageAccountType()
Get the storageAccountType property: The storage account type for the database's backups.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public StorageCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java