@Generated(value="software.amazon.awssdk:codegen") 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 |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static Metric |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<Metric> |
knownValues()
|
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 final Metric UNKNOWN_TO_SDK_VERSION
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 valueCopyright © 2023. All rights reserved.