public enum RegionCode extends Enum<RegionCode>
| Enum Constant and Description |
|---|
ASIA |
EU_CENTRAL |
EU_EAST |
EU_WEST |
GLOBAL |
US_CENTRAL |
US_EAST |
US_WEST |
| Modifier and Type | Method and Description |
|---|---|
String |
getRegionCode() |
static RegionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionCode US_WEST
public static final RegionCode US_CENTRAL
public static final RegionCode US_EAST
public static final RegionCode EU_WEST
public static final RegionCode EU_CENTRAL
public static final RegionCode EU_EAST
public static final RegionCode ASIA
public static final RegionCode GLOBAL
public static RegionCode[] values()
for (RegionCode c : RegionCode.values()) System.out.println(c);
public static RegionCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getRegionCode()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.