CredentialHealthStatus Class

public final class CredentialHealthStatus
extends ExpandableStringEnum<CredentialHealthStatus>

The health status of credential.

Field Summary

Modifier and Type Field and Description
static final CredentialHealthStatus HEALTHY

Static value Healthy for CredentialHealthStatus.

static final CredentialHealthStatus UNHEALTHY

Static value Unhealthy for CredentialHealthStatus.

Constructor Summary

Constructor Description
CredentialHealthStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CredentialHealthStatus value.

Method Summary

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

Creates or finds a CredentialHealthStatus from its string representation.

static Collection<CredentialHealthStatus> values()

Gets known CredentialHealthStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HEALTHY

public static final CredentialHealthStatus HEALTHY

Static value Healthy for CredentialHealthStatus.

UNHEALTHY

public static final CredentialHealthStatus UNHEALTHY

Static value Unhealthy for CredentialHealthStatus.

Constructor Details

CredentialHealthStatus

@Deprecated
public CredentialHealthStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CredentialHealthStatus value.

Method Details

fromString

public static CredentialHealthStatus fromString(String name)

Creates or finds a CredentialHealthStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CredentialHealthStatus.

values

public static Collection values()

Gets known CredentialHealthStatus values.

Returns:

known CredentialHealthStatus values.

Applies to