Udostępnij za pośrednictwem


ResourceRegionType Class

public final class ResourceRegionType
extends ExpandableStringEnum<ResourceRegionType>

Region type of the resource.

Field Summary

Modifier and Type Field and Description
static final ResourceRegionType GLOBAL_RESOURCE

Static value GlobalResource for ResourceRegionType.

static final ResourceRegionType REGIONAL_RESOURCE

Static value RegionalResource for ResourceRegionType.

Constructor Summary

Constructor Description
ResourceRegionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceRegionType value.

Method Summary

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

Creates or finds a ResourceRegionType from its string representation.

static Collection<ResourceRegionType> values()

Gets known ResourceRegionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GLOBAL_RESOURCE

public static final ResourceRegionType GLOBAL_RESOURCE

Static value GlobalResource for ResourceRegionType.

REGIONAL_RESOURCE

public static final ResourceRegionType REGIONAL_RESOURCE

Static value RegionalResource for ResourceRegionType.

Constructor Details

ResourceRegionType

@Deprecated
public ResourceRegionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceRegionType value.

Method Details

fromString

public static ResourceRegionType fromString(String name)

Creates or finds a ResourceRegionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceRegionType.

values

public static Collection<ResourceRegionType> values()

Gets known ResourceRegionType values.

Returns:

known ResourceRegionType values.

Applies to