Partager via


CheckNameAvailabilityReason Class

public final class CheckNameAvailabilityReason
extends ExpandableStringEnum<CheckNameAvailabilityReason>

Defines values for CheckNameAvailabilityReason.

Field Summary

Modifier and Type Field and Description
static final CheckNameAvailabilityReason ALREADY_EXISTS

Static value AlreadyExists for CheckNameAvailabilityReason.

static final CheckNameAvailabilityReason INVALID

Static value Invalid for CheckNameAvailabilityReason.

Constructor Summary

Constructor Description
CheckNameAvailabilityReason()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CheckNameAvailabilityReason value.

Method Summary

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

Creates or finds a CheckNameAvailabilityReason from its string representation.

static Collection<CheckNameAvailabilityReason> values()

Gets known CheckNameAvailabilityReason values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALREADY_EXISTS

public static final CheckNameAvailabilityReason ALREADY_EXISTS

Static value AlreadyExists for CheckNameAvailabilityReason.

INVALID

public static final CheckNameAvailabilityReason INVALID

Static value Invalid for CheckNameAvailabilityReason.

Constructor Details

CheckNameAvailabilityReason

@Deprecated
public CheckNameAvailabilityReason()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CheckNameAvailabilityReason value.

Method Details

fromString

public static CheckNameAvailabilityReason fromString(String name)

Creates or finds a CheckNameAvailabilityReason from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CheckNameAvailabilityReason.

values

public static Collection values()

Gets known CheckNameAvailabilityReason values.

Returns:

known CheckNameAvailabilityReason values.

Applies to