ConfidentialVMEncryptionType Class

public final class ConfidentialVMEncryptionType
extends ExpandableStringEnum<ConfidentialVMEncryptionType>

confidential VM encryption types.

Field Summary

Modifier and Type Field and Description
static final ConfidentialVMEncryptionType ENCRYPTED_VMGUEST_STATE_ONLY_WITH_PMK

Static value EncryptedVMGuestStateOnlyWithPmk for ConfidentialVMEncryptionType.

static final ConfidentialVMEncryptionType ENCRYPTED_WITH_CMK

Static value EncryptedWithCmk for ConfidentialVMEncryptionType.

static final ConfidentialVMEncryptionType ENCRYPTED_WITH_PMK

Static value EncryptedWithPmk for ConfidentialVMEncryptionType.

static final ConfidentialVMEncryptionType NON_PERSISTED_TPM

Static value NonPersistedTPM for ConfidentialVMEncryptionType.

Constructor Summary

Constructor Description
ConfidentialVMEncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfidentialVMEncryptionType value.

Method Summary

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

Creates or finds a ConfidentialVMEncryptionType from its string representation.

static Collection<ConfidentialVMEncryptionType> values()

Gets known ConfidentialVMEncryptionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ENCRYPTED_VMGUEST_STATE_ONLY_WITH_PMK

public static final ConfidentialVMEncryptionType ENCRYPTED_VMGUEST_STATE_ONLY_WITH_PMK

Static value EncryptedVMGuestStateOnlyWithPmk for ConfidentialVMEncryptionType.

ENCRYPTED_WITH_CMK

public static final ConfidentialVMEncryptionType ENCRYPTED_WITH_CMK

Static value EncryptedWithCmk for ConfidentialVMEncryptionType.

ENCRYPTED_WITH_PMK

public static final ConfidentialVMEncryptionType ENCRYPTED_WITH_PMK

Static value EncryptedWithPmk for ConfidentialVMEncryptionType.

NON_PERSISTED_TPM

public static final ConfidentialVMEncryptionType NON_PERSISTED_TPM

Static value NonPersistedTPM for ConfidentialVMEncryptionType.

Constructor Details

ConfidentialVMEncryptionType

@Deprecated
public ConfidentialVMEncryptionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConfidentialVMEncryptionType value.

Method Details

fromString

public static ConfidentialVMEncryptionType fromString(String name)

Creates or finds a ConfidentialVMEncryptionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConfidentialVMEncryptionType.

values

public static Collection values()

Gets known ConfidentialVMEncryptionType values.

Returns:

known ConfidentialVMEncryptionType values.

Applies to