Aracılığıyla paylaş


NameUnavailabilityReason Class

public final class NameUnavailabilityReason
extends ExpandableStringEnum<NameUnavailabilityReason>

Defines values for NameUnavailabilityReason.

Field Summary

Modifier and Type Field and Description
static final NameUnavailabilityReason ALREADY_EXISTS

Static value AlreadyExists for NameUnavailabilityReason.

static final NameUnavailabilityReason INVALID

Static value Invalid for NameUnavailabilityReason.

Constructor Summary

Constructor Description
NameUnavailabilityReason()

Method Summary

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

Creates or finds a NameUnavailabilityReason from its string representation.

static Collection<NameUnavailabilityReason> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALREADY_EXISTS

public static final NameUnavailabilityReason ALREADY_EXISTS

Static value AlreadyExists for NameUnavailabilityReason.

INVALID

public static final NameUnavailabilityReason INVALID

Static value Invalid for NameUnavailabilityReason.

Constructor Details

NameUnavailabilityReason

public NameUnavailabilityReason()

Method Details

fromString

public static NameUnavailabilityReason fromString(String name)

Creates or finds a NameUnavailabilityReason from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NameUnavailabilityReason.

values

public static Collection values()

Returns:

known NameUnavailabilityReason values.

Applies to