ResourceRegionType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. eventgrid. models. ResourceRegionType
- com.
- com.
public final class ResourceRegionType
extends ExpandableStringEnum<ResourceRegionType>
Region type of the resource.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Resource |
GLOBAL_RESOURCE
Static value Global |
|
static final
Resource |
REGIONAL_RESOURCE
Static value Regional |
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceRegionType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromString(String name)
Creates or finds a Resource |
|
static
Collection<Resource |
values()
Gets known Resource |
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
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:
Returns:
values
public static Collection<ResourceRegionType> values()
Gets known ResourceRegionType values.
Returns: