Partager via


ResourceNameStatus Class

public final class ResourceNameStatus
extends ExpandableStringEnum<ResourceNameStatus>

Is the resource name Allowed or Reserved.

Field Summary

Modifier and Type Field and Description
static final ResourceNameStatus ALLOWED

Static value Allowed for ResourceNameStatus.

static final ResourceNameStatus RESERVED

Static value Reserved for ResourceNameStatus.

Constructor Summary

Constructor Description
ResourceNameStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceNameStatus value.

Method Summary

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

Creates or finds a ResourceNameStatus from its string representation.

static Collection<ResourceNameStatus> values()

Gets known ResourceNameStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOWED

public static final ResourceNameStatus ALLOWED

Static value Allowed for ResourceNameStatus.

RESERVED

public static final ResourceNameStatus RESERVED

Static value Reserved for ResourceNameStatus.

Constructor Details

ResourceNameStatus

@Deprecated
public ResourceNameStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceNameStatus value.

Method Details

fromString

public static ResourceNameStatus fromString(String name)

Creates or finds a ResourceNameStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceNameStatus.

values

public static Collection values()

Gets known ResourceNameStatus values.

Returns:

known ResourceNameStatus values.

Applies to