EncryptionState Class

public final class EncryptionState
extends ExpandableStringEnum<EncryptionState>

Encryption state of the Backup Vault.

Field Summary

Modifier and Type Field and Description
static final EncryptionState DISABLED

CMK encryption is disabled on the Backup Vault.

static final EncryptionState ENABLED

CMK encryption is enabled on the Backup Vault.

static final EncryptionState 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 EncryptionState value.

Method Summary

Modifier and Type Method and Description
static EncryptionState fromString(String name)

Creates or finds a EncryptionState from its string representation.

static Collection<EncryptionState> values()

Gets known EncryptionState values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding EncryptionState.

values

public static Collection<EncryptionState> values()

Gets known EncryptionState values.

Returns:

known EncryptionState values.

Applies to