public enum AmplitudeServerZone extends java.lang.Enum<AmplitudeServerZone>
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getDynamicConfigApi(AmplitudeServerZone serverZone) |
protected static java.lang.String |
getEventLogApiForZone(AmplitudeServerZone serverZone) |
static AmplitudeServerZone |
getServerZone(java.lang.String serverZone) |
static AmplitudeServerZone |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AmplitudeServerZone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmplitudeServerZone US
public static final AmplitudeServerZone EU
public static AmplitudeServerZone[] values()
for (AmplitudeServerZone c : AmplitudeServerZone.values()) System.out.println(c);
public static AmplitudeServerZone 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 nullprotected static java.lang.String getEventLogApiForZone(AmplitudeServerZone serverZone)
protected static java.lang.String getDynamicConfigApi(AmplitudeServerZone serverZone)
public static AmplitudeServerZone getServerZone(java.lang.String serverZone)