public class BulkEmailDestination
extends java.lang.Object
implements java.io.Serializable
An array that contains one or more Destinations, as well as the tags and replacement data associated with each of those Destinations.
Constructor and Description |
---|
BulkEmailDestination() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Destination |
getDestination()
Represents the destination of the message, consisting of To:, CC:, and
BCC: fields.
|
java.util.List<MessageTag> |
getReplacementTags()
A list of tags, in the form of name/value pairs, to apply to an email
that you send using
SendBulkTemplatedEmail . |
java.lang.String |
getReplacementTemplateData()
A list of replacement values to apply to the template.
|
int |
hashCode() |
void |
setDestination(Destination destination)
Represents the destination of the message, consisting of To:, CC:, and
BCC: fields.
|
void |
setReplacementTags(java.util.Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email
that you send using
SendBulkTemplatedEmail . |
void |
setReplacementTemplateData(java.lang.String replacementTemplateData)
A list of replacement values to apply to the template.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BulkEmailDestination |
withDestination(Destination destination)
Represents the destination of the message, consisting of To:, CC:, and
BCC: fields.
|
BulkEmailDestination |
withReplacementTags(java.util.Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email
that you send using
SendBulkTemplatedEmail . |
BulkEmailDestination |
withReplacementTags(MessageTag... replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email
that you send using
SendBulkTemplatedEmail . |
BulkEmailDestination |
withReplacementTemplateData(java.lang.String replacementTemplateData)
A list of replacement values to apply to the template.
|
public Destination getDestination()
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
public void setDestination(Destination destination)
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
destination
- Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
public BulkEmailDestination withDestination(Destination destination)
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
Returns a reference to this object so that method calls can be chained together.
destination
- Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
public java.util.List<MessageTag> getReplacementTags()
A list of tags, in the form of name/value pairs, to apply to an email
that you send using SendBulkTemplatedEmail
. Tags correspond
to characteristics of the email that you define, so that you can publish
email sending events.
A list of tags, in the form of name/value pairs, to apply to an
email that you send using SendBulkTemplatedEmail
.
Tags correspond to characteristics of the email that you define,
so that you can publish email sending events.
public void setReplacementTags(java.util.Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email
that you send using SendBulkTemplatedEmail
. Tags correspond
to characteristics of the email that you define, so that you can publish
email sending events.
replacementTags
-
A list of tags, in the form of name/value pairs, to apply to
an email that you send using
SendBulkTemplatedEmail
. Tags correspond to
characteristics of the email that you define, so that you can
publish email sending events.
public BulkEmailDestination withReplacementTags(MessageTag... replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email
that you send using SendBulkTemplatedEmail
. Tags correspond
to characteristics of the email that you define, so that you can publish
email sending events.
Returns a reference to this object so that method calls can be chained together.
replacementTags
-
A list of tags, in the form of name/value pairs, to apply to
an email that you send using
SendBulkTemplatedEmail
. Tags correspond to
characteristics of the email that you define, so that you can
publish email sending events.
public BulkEmailDestination withReplacementTags(java.util.Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email
that you send using SendBulkTemplatedEmail
. Tags correspond
to characteristics of the email that you define, so that you can publish
email sending events.
Returns a reference to this object so that method calls can be chained together.
replacementTags
-
A list of tags, in the form of name/value pairs, to apply to
an email that you send using
SendBulkTemplatedEmail
. Tags correspond to
characteristics of the email that you define, so that you can
publish email sending events.
public java.lang.String getReplacementTemplateData()
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
Constraints:
Length: - 262144
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
public void setReplacementTemplateData(java.lang.String replacementTemplateData)
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
Constraints:
Length: - 262144
replacementTemplateData
- A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
public BulkEmailDestination withReplacementTemplateData(java.lang.String replacementTemplateData)
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 262144
replacementTemplateData
- A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.