次の方法で共有


EncryptionState Class

public final class EncryptionState
extends ExpandableStringEnum<EncryptionState>

Whether encryption is enabled or disabled.

Field Summary

Modifier and Type Field and Description
static final EncryptionState DISABLED

is disabled.

static final EncryptionState ENABLED

is enabled.

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

is disabled.

ENABLED

public static final EncryptionState ENABLED

is enabled.

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