SoftDeleteState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. dataprotection. models. SoftDeleteState
- com.
- com.
public final class SoftDeleteState
extends ExpandableStringEnum<SoftDeleteState>
State of soft delete.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Soft |
ALWAYS_ON
Soft Delete is permanently enabled for the Backup |
|
static final
Soft |
OFF
Soft Delete is turned off for the Backup |
|
static final
Soft |
ON
Soft Delete is enabled for the Backup |
Constructor Summary
| Constructor | Description |
|---|---|
| SoftDeleteState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Soft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Soft |
fromString(String name)
Creates or finds a Soft |
|
static
Collection<Soft |
values()
Gets known Soft |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALWAYS_ON
public static final SoftDeleteState ALWAYS_ON
Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed.
OFF
public static final SoftDeleteState OFF
Soft Delete is turned off for the BackupVault.
ON
public static final SoftDeleteState ON
Soft Delete is enabled for the BackupVault but can be turned off.
Constructor Details
SoftDeleteState
@Deprecated
public SoftDeleteState()
Deprecated
Creates a new instance of SoftDeleteState value.
Method Details
fromString
public static SoftDeleteState fromString(String name)
Creates or finds a SoftDeleteState from its string representation.
Parameters:
Returns:
values
public static Collection<SoftDeleteState> values()
Gets known SoftDeleteState values.
Returns: