@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum DimensionValueSource extends Enum<DimensionValueSource>
The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon
Pinpoint to use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the
SendEmail/SendRawEmail API, choose messageTag
. If you want Amazon Pinpoint to use your own email
headers, choose emailHeader
. If you want Amazon Pinpoint to use link tags, choose linkTags
.
Enum Constant and Description |
---|
EMAIL_HEADER |
LINK_TAG |
MESSAGE_TAG |
Modifier and Type | Method and Description |
---|---|
static DimensionValueSource |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static DimensionValueSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DimensionValueSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DimensionValueSource MESSAGE_TAG
public static final DimensionValueSource EMAIL_HEADER
public static final DimensionValueSource LINK_TAG
public static DimensionValueSource[] values()
for (DimensionValueSource c : DimensionValueSource.values()) System.out.println(c);
public static DimensionValueSource 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<DimensionValueSource>
public static DimensionValueSource fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.