DeletionRecoveryLevel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. keyvault. models. DeletionRecoveryLevel
- com.
- com.
public final class DeletionRecoveryLevel
extends ExpandableStringEnum<DeletionRecoveryLevel>
The deletion recovery level currently in effect for the object. If it contains 'Purgeable', then the object can be permanently deleted by a privileged user; otherwise, only the system can purge the object at the end of the retention interval.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Deletion |
PURGEABLE
Static value Purgeable for Deletion |
static final
Deletion |
RECOVERABLE
Static value Recoverable for Deletion |
static final
Deletion |
RECOVERABLE_PROTECTED_SUBSCRIPTION
Static value Recoverable+Protected |
static final
Deletion |
RECOVERABLE_PURGEABLE
Static value Recoverable+Purgeable for Deletion |
Constructor Summary
Constructor | Description |
---|---|
DeletionRecoveryLevel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Deletion |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deletion |
fromString(String name)
Creates or finds a Deletion |
static
Collection<Deletion |
values()
Gets known Deletion |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PURGEABLE
public static final DeletionRecoveryLevel PURGEABLE
Static value Purgeable for DeletionRecoveryLevel.
RECOVERABLE
public static final DeletionRecoveryLevel RECOVERABLE
Static value Recoverable for DeletionRecoveryLevel.
RECOVERABLE_PROTECTED_SUBSCRIPTION
public static final DeletionRecoveryLevel RECOVERABLE_PROTECTED_SUBSCRIPTION
Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel.
RECOVERABLE_PURGEABLE
public static final DeletionRecoveryLevel RECOVERABLE_PURGEABLE
Static value Recoverable+Purgeable for DeletionRecoveryLevel.
Constructor Details
DeletionRecoveryLevel
@Deprecated
public DeletionRecoveryLevel()
Deprecated
Creates a new instance of DeletionRecoveryLevel value.
Method Details
fromString
public static DeletionRecoveryLevel fromString(String name)
Creates or finds a DeletionRecoveryLevel from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DeletionRecoveryLevel values.
Returns:
Applies to
Azure SDK for Java