EncryptionState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. dataprotection. models. EncryptionState
- com.
- com.
public final class EncryptionState
extends ExpandableStringEnum<EncryptionState>
Encryption state of the Backup Vault.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Encryption |
DISABLED
CMK encryption is disabled on the Backup Vault. |
|
static final
Encryption |
ENABLED
CMK encryption is enabled on the Backup Vault. |
|
static final
Encryption |
INCONSISTENT
CMK encryption is in inconsistent state on the Backup Vault. |
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Encryption |
fromString(String name)
Creates or finds a Encryption |
|
static
Collection<Encryption |
values()
Gets known Encryption |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final EncryptionState DISABLED
CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'.
ENABLED
public static final EncryptionState ENABLED
CMK encryption is enabled on the Backup Vault.
INCONSISTENT
public static final EncryptionState INCONSISTENT
CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state.
Constructor Details
EncryptionState
@Deprecated
public EncryptionState()
Deprecated
Creates a new instance of EncryptionState value.
Method Details
fromString
public static EncryptionState fromString(String name)
Creates or finds a EncryptionState from its string representation.
Parameters:
Returns:
values
public static Collection<EncryptionState> values()
Gets known EncryptionState values.
Returns: