@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum MetricDimensionName extends Enum<MetricDimensionName>
The BatchGetMetricDataQuery
dimension name. This can be one of the following:
EMAIL_IDENTITY
– The email identity used when sending messages.
CONFIGURATION_SET
– The configuration set used when sending messages (if one was used).
ISP
– The recipient ISP (e.g. Gmail
, Yahoo
, etc.).
Enum Constant and Description |
---|
CONFIGURATION_SET |
EMAIL_IDENTITY |
ISP |
Modifier and Type | Method and Description |
---|---|
static MetricDimensionName |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static MetricDimensionName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricDimensionName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricDimensionName EMAIL_IDENTITY
public static final MetricDimensionName CONFIGURATION_SET
public static final MetricDimensionName ISP
public static MetricDimensionName[] values()
for (MetricDimensionName c : MetricDimensionName.values()) System.out.println(c);
public static MetricDimensionName 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 String toString()
toString
in class Enum<MetricDimensionName>
public static MetricDimensionName fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.