public enum Region extends java.lang.Enum<Region>
ngrok
's valid regions, as defined in
ngrok
's docs.Modifier and Type | Method and Description |
---|---|
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.
|
@SerializedName(value="us") public static final Region US
@SerializedName(value="us-cal-1") public static final Region US_CAL_1
@SerializedName(value="eu") public static final Region EU
@SerializedName(value="ap") public static final Region AP
@SerializedName(value="au") public static final Region AU
@SerializedName(value="sa") public static final Region SA
@SerializedName(value="jp") public static final Region JP
@SerializedName(value="in") public static final Region IN
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>