EncryptionType Class

public final class EncryptionType
extends ExpandableStringEnum<EncryptionType>

The type of key used to encrypt the data of the disk.

Field Summary

Modifier and Type Field and Description
static final EncryptionType ENCRYPTION_AT_REST_WITH_CUSTOMER_KEY

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

static final EncryptionType ENCRYPTION_AT_REST_WITH_PLATFORM_AND_CUSTOMER_KEYS

Disk is encrypted at rest with 2 layers of encryption.

static final EncryptionType ENCRYPTION_AT_REST_WITH_PLATFORM_KEY

Disk is encrypted at rest with Platform managed key.

Constructor Summary

Constructor Description
EncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionType value.

Method Summary

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

Creates or finds a EncryptionType from its string representation.

static Collection<EncryptionType> values()

Gets known EncryptionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ENCRYPTION_AT_REST_WITH_CUSTOMER_KEY

public static final EncryptionType ENCRYPTION_AT_REST_WITH_CUSTOMER_KEY

Disk is encrypted at rest with Customer managed key that can be changed and revoked by a customer.

ENCRYPTION_AT_REST_WITH_PLATFORM_AND_CUSTOMER_KEYS

public static final EncryptionType ENCRYPTION_AT_REST_WITH_PLATFORM_AND_CUSTOMER_KEYS

Disk is encrypted at rest with 2 layers of encryption. One of the keys is Customer managed and the other key is Platform managed.

ENCRYPTION_AT_REST_WITH_PLATFORM_KEY

public static final EncryptionType ENCRYPTION_AT_REST_WITH_PLATFORM_KEY

Disk is encrypted at rest with Platform managed key. It is the default encryption type. This is not a valid encryption type for disk encryption sets.

Constructor Details

EncryptionType

@Deprecated
public EncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionType value.

Method Details

fromString

public static EncryptionType fromString(String name)

Creates or finds a EncryptionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EncryptionType.

values

public static Collection<EncryptionType> values()

Gets known EncryptionType values.

Returns:

known EncryptionType values.

Applies to