public enum Region extends Enum<Region>
Modifier and Type | Method and Description |
---|---|
static Region |
byName(String name) |
String |
getName() |
String |
iso3166Code() |
static Set<String> |
iso3166Codes() |
static Region |
valueOf(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 CENTRAL_US
public static final Region EAST_US
public static final Region EAST_US_2
public static final Region US_GOV_IOWA
public static final Region US_GOV_VIRGINIA
public static final Region NORTH_CENTRAL_US
public static final Region SOUTH_CENTRAL_US
public static final Region WEST_CENTRAL_US
public static final Region WEST_US
public static final Region WEST_US_2
public static final Region NORTH_EUROPE
public static final Region UK_SOUTH
public static final Region UK_WEST
public static final Region WEST_EUROPE
public static final Region EAST_ASIA
public static final Region SOUTH_EAST_ASIA
public static final Region KOREA_CENTRAL
public static final Region KOREA_SOUTH
public static final Region JAPAN_EAST
public static final Region JAPAN_WEST
public static final Region BRAZIL_SOUTH
public static final Region AUSTRALIA_EAST
public static final Region AUSTRALIA_SOUTH_EAST
public static final Region CENTRAL_INDIA
public static final Region SOUTH_INDIA
public static final Region WEST_INDIA
public static final Region CHINA_EAST
public static final Region CHINA_NORTH
public static final Region CANADA_CENTRAL
public static final Region CANADA_EAST
public static Region[] values()
for (Region c : Region.values()) System.out.println(c);
public static Region 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 getName()
public String iso3166Code()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.