CredentialName Class

public final class CredentialName
extends ExpandableStringEnum<CredentialName>

The name of the credential.

Field Summary

Modifier and Type Field and Description
static final CredentialName CREDENTIAL1

Static value Credential1 for CredentialName.

Constructor Summary

Constructor Description
CredentialName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CredentialName value.

Method Summary

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

Creates or finds a CredentialName from its string representation.

static Collection<CredentialName> values()

Gets known CredentialName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREDENTIAL1

public static final CredentialName CREDENTIAL1

Static value Credential1 for CredentialName.

Constructor Details

CredentialName

@Deprecated
public CredentialName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CredentialName value.

Method Details

fromString

public static CredentialName fromString(String name)

Creates or finds a CredentialName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CredentialName.

values

public static Collection values()

Gets known CredentialName values.

Returns:

known CredentialName values.

Applies to