@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchDimensionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
An object that defines the dimension configuration to use when you send Amazon Pinpoint email events to Amazon CloudWatch.
Constructor and Description |
---|
CloudWatchDimensionConfiguration() |
Modifier and Type | Method and Description |
---|---|
CloudWatchDimensionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultDimensionValue()
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the
dimension when you send an email.
|
String |
getDimensionName()
The name of an Amazon CloudWatch dimension associated with an email sending metric.
|
String |
getDimensionValueSource()
The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultDimensionValue(String defaultDimensionValue)
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the
dimension when you send an email.
|
void |
setDimensionName(String dimensionName)
The name of an Amazon CloudWatch dimension associated with an email sending metric.
|
void |
setDimensionValueSource(String dimensionValueSource)
The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchDimensionConfiguration |
withDefaultDimensionValue(String defaultDimensionValue)
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the
dimension when you send an email.
|
CloudWatchDimensionConfiguration |
withDimensionName(String dimensionName)
The name of an Amazon CloudWatch dimension associated with an email sending metric.
|
CloudWatchDimensionConfiguration |
withDimensionValueSource(DimensionValueSource dimensionValueSource)
The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch.
|
CloudWatchDimensionConfiguration |
withDimensionValueSource(String dimensionValueSource)
The location where Amazon Pinpoint finds the value of a dimension to publish to Amazon CloudWatch.
|
public void setDimensionName(String dimensionName)
The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
dimensionName
- The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet
the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
public String getDimensionName()
The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
public CloudWatchDimensionConfiguration withDimensionName(String dimensionName)
The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
dimensionName
- The name of an Amazon CloudWatch dimension associated with an email sending metric. The name has to meet
the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
public void setDimensionValueSource(String 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
.
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
.DimensionValueSource
public String getDimensionValueSource()
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
.
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
.DimensionValueSource
public CloudWatchDimensionConfiguration withDimensionValueSource(String 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
.
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
.DimensionValueSource
public CloudWatchDimensionConfiguration withDimensionValueSource(DimensionValueSource 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
.
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
.DimensionValueSource
public void setDefaultDimensionValue(String defaultDimensionValue)
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
defaultDimensionValue
- The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value
of the dimension when you send an email. This value has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
public String getDefaultDimensionValue()
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
public CloudWatchDimensionConfiguration withDefaultDimensionValue(String defaultDimensionValue)
The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value of the dimension when you send an email. This value has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
defaultDimensionValue
- The default value of the dimension that is published to Amazon CloudWatch if you don't provide the value
of the dimension when you send an email. This value has to meet the following criteria:
It can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
It can contain no more than 256 characters.
public String toString()
toString
in class Object
Object.toString()
public CloudWatchDimensionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.