Partilhar via


EncryptionStatus Class

public final class EncryptionStatus
extends ExpandableStringEnum<EncryptionStatus>

Defines values for EncryptionStatuses.

Field Summary

Modifier and Type Field and Description
static final EncryptionStatus ENCRYPTED

Static value Encrypted for EncryptionStatuses.

static final EncryptionStatus ENCRYPTION_INPROGRESS

Static value Encrypted for EncryptionInProgress.

static final EncryptionStatus NOT_ENCRYPTED

Static value NotEncrypted for EncryptionStatuses.

static final EncryptionStatus NOT_MOUNTED

Static value NotMounted for EncryptionStatuses.

static final EncryptionStatus UNKNOWN

Static value Unknown for EncryptionStatuses.

static final EncryptionStatus VM_RESTART_PENDING

Static value VMRestartPending for EncryptionStatuses.

Constructor Summary

Constructor Description
EncryptionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionStatus value.

Method Summary

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

Creates of finds an encryption status based on its name.

static Collection<EncryptionStatus> values()

Gets known encryption statuses.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ENCRYPTED

public static final EncryptionStatus ENCRYPTED

Static value Encrypted for EncryptionStatuses.

ENCRYPTION_INPROGRESS

public static final EncryptionStatus ENCRYPTION_INPROGRESS

Static value Encrypted for EncryptionInProgress.

NOT_ENCRYPTED

public static final EncryptionStatus NOT_ENCRYPTED

Static value NotEncrypted for EncryptionStatuses.

NOT_MOUNTED

public static final EncryptionStatus NOT_MOUNTED

Static value NotMounted for EncryptionStatuses.

UNKNOWN

public static final EncryptionStatus UNKNOWN

Static value Unknown for EncryptionStatuses.

VM_RESTART_PENDING

public static final EncryptionStatus VM_RESTART_PENDING

Static value VMRestartPending for EncryptionStatuses.

Constructor Details

EncryptionStatus

@Deprecated
public EncryptionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EncryptionStatus value.

Method Details

fromString

public static EncryptionStatus fromString(String name)

Creates of finds an encryption status based on its name.

Parameters:

name - a name to look for

Returns:

an EncryptionStatus

values

public static Collection values()

Gets known encryption statuses.

Returns:

known encryption statuses

Applies to