@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BulkEmailEntry extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
BulkEmailEntry() |
Modifier and Type | Method and Description |
---|---|
BulkEmailEntry |
clone() |
boolean |
equals(Object obj) |
Destination |
getDestination()
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
|
ReplacementEmailContent |
getReplacementEmailContent()
The
ReplacementEmailContent associated with a BulkEmailEntry . |
List<MessageTag> |
getReplacementTags()
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail operation. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestination(Destination destination)
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
|
void |
setReplacementEmailContent(ReplacementEmailContent replacementEmailContent)
The
ReplacementEmailContent associated with a BulkEmailEntry . |
void |
setReplacementTags(Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail operation. |
String |
toString()
Returns a string representation of this object.
|
BulkEmailEntry |
withDestination(Destination destination)
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
|
BulkEmailEntry |
withReplacementEmailContent(ReplacementEmailContent replacementEmailContent)
The
ReplacementEmailContent associated with a BulkEmailEntry . |
BulkEmailEntry |
withReplacementTags(Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail operation. |
BulkEmailEntry |
withReplacementTags(MessageTag... replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail operation. |
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 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.
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 BulkEmailEntry 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.
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 List<MessageTag> getReplacementTags()
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you define,
so that you can publish email sending events.
SendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you
define, so that you can publish email sending events.public void setReplacementTags(Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail
operation. 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 the
SendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you
define, so that you can publish email sending events.public BulkEmailEntry withReplacementTags(MessageTag... replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you define,
so that you can publish email sending events.
NOTE: This method appends the values to the existing list (if any). Use
setReplacementTags(java.util.Collection)
or withReplacementTags(java.util.Collection)
if you
want to override the existing values.
replacementTags
- A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you
define, so that you can publish email sending events.public BulkEmailEntry withReplacementTags(Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendBulkTemplatedEmail
operation. 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 the
SendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you
define, so that you can publish email sending events.public void setReplacementEmailContent(ReplacementEmailContent replacementEmailContent)
The ReplacementEmailContent
associated with a BulkEmailEntry
.
replacementEmailContent
- The ReplacementEmailContent
associated with a BulkEmailEntry
.public ReplacementEmailContent getReplacementEmailContent()
The ReplacementEmailContent
associated with a BulkEmailEntry
.
ReplacementEmailContent
associated with a BulkEmailEntry
.public BulkEmailEntry withReplacementEmailContent(ReplacementEmailContent replacementEmailContent)
The ReplacementEmailContent
associated with a BulkEmailEntry
.
replacementEmailContent
- The ReplacementEmailContent
associated with a BulkEmailEntry
.public String toString()
toString
in class Object
Object.toString()
public BulkEmailEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.