Class StorageCapability
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.StorageCapability
-
public final class StorageCapability extends Object
The storage account type capability.
-
-
Constructor Summary
Constructors Constructor Description StorageCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringreason()Get the reason property: The reason for the capability not being available.CapabilityStatusstatus()Get the status property: The status of the capability.StorageCapabilityStorageAccountTypestorageAccountType()Get the storageAccountType property: The storage account type for the database's backups.voidvalidate()Validates the instance.StorageCapabilitywithReason(String reason)Set the reason property: The reason for the capability not being available.
-
-
-
Method Detail
-
storageAccountType
public StorageCapabilityStorageAccountType storageAccountType()
Get the storageAccountType property: The storage account type for the database's backups.- Returns:
- the storageAccountType value.
-
status
public CapabilityStatus status()
Get the status property: The status of the capability.- Returns:
- the status value.
-
reason
public String reason()
Get the reason property: The reason for the capability not being available.- Returns:
- the reason value.
-
withReason
public StorageCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.- Parameters:
reason- the reason value to set.- Returns:
- the StorageCapability object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-