@Environment(value=CLIENT) static enum Ping.Region extends Enum<Ping.Region>
| Enum Constant and Description |
|---|
AP_NORTHEAST_1 |
AP_SOUTHEAST_1 |
AP_SOUTHEAST_2 |
EU_WEST_1 |
SA_EAST_1 |
US_EAST_1 |
US_WEST_1 |
US_WEST_2 |
| Modifier and Type | Field and Description |
|---|---|
private String |
endpoint |
private String |
name |
| Modifier and Type | Method and Description |
|---|---|
static Ping.Region |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ping.Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ping.Region US_EAST_1
public static final Ping.Region US_WEST_2
public static final Ping.Region US_WEST_1
public static final Ping.Region EU_WEST_1
public static final Ping.Region AP_SOUTHEAST_1
public static final Ping.Region AP_SOUTHEAST_2
public static final Ping.Region AP_NORTHEAST_1
public static final Ping.Region SA_EAST_1
public static Ping.Region[] values()
for (Ping.Region c : Ping.Region.values()) System.out.println(c);
public static Ping.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 null