Partilhar via


ServerKeyType Class

public final class ServerKeyType
extends ExpandableStringEnum<ServerKeyType>

The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.

Field Summary

Modifier and Type Field and Description
static final ServerKeyType AZURE_KEY_VAULT

Static value AzureKeyVault for ServerKeyType.

static final ServerKeyType SERVICE_MANAGED

Static value ServiceManaged for ServerKeyType.

Constructor Summary

Constructor Description
ServerKeyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerKeyType value.

Method Summary

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

Creates or finds a ServerKeyType from its string representation.

static Collection<ServerKeyType> values()

Gets known ServerKeyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_KEY_VAULT

public static final ServerKeyType AZURE_KEY_VAULT

Static value AzureKeyVault for ServerKeyType.

SERVICE_MANAGED

public static final ServerKeyType SERVICE_MANAGED

Static value ServiceManaged for ServerKeyType.

Constructor Details

ServerKeyType

@Deprecated
public ServerKeyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServerKeyType value.

Method Details

fromString

public static ServerKeyType fromString(String name)

Creates or finds a ServerKeyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServerKeyType.

values

public static Collection values()

Gets known ServerKeyType values.

Returns:

known ServerKeyType values.

Applies to