@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum Metric extends Enum<Metric>
Enum Constant and Description |
---|
CLICK |
COMPLAINT |
DELIVERY |
DELIVERY_CLICK |
DELIVERY_COMPLAINT |
DELIVERY_OPEN |
OPEN |
PERMANENT_BOUNCE |
SEND |
TRANSIENT_BOUNCE |
Modifier and Type | Method and Description |
---|---|
static Metric |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static Metric |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metric SEND
public static final Metric COMPLAINT
public static final Metric PERMANENT_BOUNCE
public static final Metric TRANSIENT_BOUNCE
public static final Metric OPEN
public static final Metric CLICK
public static final Metric DELIVERY
public static final Metric DELIVERY_OPEN
public static final Metric DELIVERY_CLICK
public static final Metric DELIVERY_COMPLAINT
public static Metric[] values()
for (Metric c : Metric.values()) System.out.println(c);
public static Metric 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 static Metric fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.