| Enum Constant and Description |
|---|
BRAZIL |
EUROPE_NORTHEAST |
EUROPE_WEST |
KOREA |
LATIN_AMERICA_NORTH |
LATIN_AMERICA_SOUTH |
NORTH_AMERICA |
OCEANIC |
PUBLIC_BETA_ENVIRONMENT |
RUSSIA |
TURKEY |
| Modifier and Type | Method and Description |
|---|---|
static Region |
from(java.lang.String regionCode) |
static Region[] |
getExcluding(Region... excludedRegions)
|
java.lang.String |
toString() |
static Region |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region NORTH_AMERICA
public static final Region EUROPE_WEST
public static final Region EUROPE_NORTHEAST
public static final Region LATIN_AMERICA_NORTH
public static final Region LATIN_AMERICA_SOUTH
public static final Region BRAZIL
public static final Region KOREA
public static final Region OCEANIC
public static final Region RUSSIA
public static final Region TURKEY
public static final Region PUBLIC_BETA_ENVIRONMENT
public static Region[] values()
for (Region c : Region.values()) System.out.println(c);
public static Region valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<Region>public static Region from(java.lang.String regionCode)
regionCode - e.g. 'NA'Region corresponding to the input code,
or null if one is not found