@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BulkEmailDestination extends Object implements Serializable, Cloneable
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 |
---|---|
BulkEmailDestination |
clone() |
boolean |
equals(Object obj) |
Destination |
getDestination() |
List<MessageTag> |
getReplacementTags()
A list of tags, in the form of name/value pairs, to apply to an email that you send using
SendBulkTemplatedEmail . |
String |
getReplacementTemplateData()
A list of replacement values to apply to the template.
|
int |
hashCode() |
void |
setDestination(Destination destination) |
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
SendBulkTemplatedEmail . |
void |
setReplacementTemplateData(String replacementTemplateData)
A list of replacement values to apply to the template.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BulkEmailDestination |
withDestination(Destination destination) |
BulkEmailDestination |
withReplacementTags(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(String replacementTemplateData)
A list of replacement values to apply to the template.
|
public void setDestination(Destination destination)
destination
- public Destination getDestination()
public BulkEmailDestination withDestination(Destination destination)
destination
- public 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.
SendBulkTemplatedEmail
. 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
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.
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
SendBulkTemplatedEmail
. Tags correspond to characteristics of the email that you define, so
that you can publish email sending events.public BulkEmailDestination withReplacementTags(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 void setReplacementTemplateData(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.
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 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.
public BulkEmailDestination withReplacementTemplateData(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.
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 String toString()
toString
in class Object
Object.toString()
public BulkEmailDestination clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.