@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendBulkEmailRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to send email messages to multiple destinations using Amazon SES. For more information, see the Amazon SES Developer Guide.
NOOP
Constructor and Description |
---|
SendBulkEmailRequest() |
Modifier and Type | Method and Description |
---|---|
SendBulkEmailRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<BulkEmailEntry> |
getBulkEmailEntries()
The list of bulk email entry objects.
|
String |
getConfigurationSetName()
The name of the configuration set to use when sending the email.
|
BulkEmailContent |
getDefaultContent()
An object that contains the body of the message.
|
List<MessageTag> |
getDefaultEmailTags()
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail operation. |
String |
getFeedbackForwardingEmailAddress()
The address that you want bounce and complaint notifications to be sent to.
|
String |
getFeedbackForwardingEmailAddressIdentityArn()
This parameter is used only for sending authorization.
|
String |
getFromEmailAddress()
The email address to use as the "From" address for the email.
|
String |
getFromEmailAddressIdentityArn()
This parameter is used only for sending authorization.
|
List<String> |
getReplyToAddresses()
The "Reply-to" email addresses for the message.
|
int |
hashCode() |
void |
setBulkEmailEntries(Collection<BulkEmailEntry> bulkEmailEntries)
The list of bulk email entry objects.
|
void |
setConfigurationSetName(String configurationSetName)
The name of the configuration set to use when sending the email.
|
void |
setDefaultContent(BulkEmailContent defaultContent)
An object that contains the body of the message.
|
void |
setDefaultEmailTags(Collection<MessageTag> defaultEmailTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail operation. |
void |
setFeedbackForwardingEmailAddress(String feedbackForwardingEmailAddress)
The address that you want bounce and complaint notifications to be sent to.
|
void |
setFeedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn)
This parameter is used only for sending authorization.
|
void |
setFromEmailAddress(String fromEmailAddress)
The email address to use as the "From" address for the email.
|
void |
setFromEmailAddressIdentityArn(String fromEmailAddressIdentityArn)
This parameter is used only for sending authorization.
|
void |
setReplyToAddresses(Collection<String> replyToAddresses)
The "Reply-to" email addresses for the message.
|
String |
toString()
Returns a string representation of this object.
|
SendBulkEmailRequest |
withBulkEmailEntries(BulkEmailEntry... bulkEmailEntries)
The list of bulk email entry objects.
|
SendBulkEmailRequest |
withBulkEmailEntries(Collection<BulkEmailEntry> bulkEmailEntries)
The list of bulk email entry objects.
|
SendBulkEmailRequest |
withConfigurationSetName(String configurationSetName)
The name of the configuration set to use when sending the email.
|
SendBulkEmailRequest |
withDefaultContent(BulkEmailContent defaultContent)
An object that contains the body of the message.
|
SendBulkEmailRequest |
withDefaultEmailTags(Collection<MessageTag> defaultEmailTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail operation. |
SendBulkEmailRequest |
withDefaultEmailTags(MessageTag... defaultEmailTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail operation. |
SendBulkEmailRequest |
withFeedbackForwardingEmailAddress(String feedbackForwardingEmailAddress)
The address that you want bounce and complaint notifications to be sent to.
|
SendBulkEmailRequest |
withFeedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn)
This parameter is used only for sending authorization.
|
SendBulkEmailRequest |
withFromEmailAddress(String fromEmailAddress)
The email address to use as the "From" address for the email.
|
SendBulkEmailRequest |
withFromEmailAddressIdentityArn(String fromEmailAddressIdentityArn)
This parameter is used only for sending authorization.
|
SendBulkEmailRequest |
withReplyToAddresses(Collection<String> replyToAddresses)
The "Reply-to" email addresses for the message.
|
SendBulkEmailRequest |
withReplyToAddresses(String... replyToAddresses)
The "Reply-to" email addresses for the message.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFromEmailAddress(String fromEmailAddress)
The email address to use as the "From" address for the email. The address that you specify has to be verified.
fromEmailAddress
- The email address to use as the "From" address for the email. The address that you specify has to be
verified.public String getFromEmailAddress()
The email address to use as the "From" address for the email. The address that you specify has to be verified.
public SendBulkEmailRequest withFromEmailAddress(String fromEmailAddress)
The email address to use as the "From" address for the email. The address that you specify has to be verified.
fromEmailAddress
- The email address to use as the "From" address for the email. The address that you specify has to be
verified.public void setFromEmailAddressIdentityArn(String fromEmailAddressIdentityArn)
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the
sending authorization policy that permits you to use the email address specified in the
FromEmailAddress
parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
attaches a policy to it that authorizes you to use sender@example.com, then you would specify the
FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
FromEmailAddress
to be sender@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
fromEmailAddressIdentityArn
- This parameter is used only for sending authorization. It is the ARN of the identity that is associated
with the sending authorization policy that permits you to use the email address specified in the
FromEmailAddress
parameter.
For example, if the owner of example.com (which has ARN
arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to
use sender@example.com, then you would specify the FromEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress
to be
sender@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
public String getFromEmailAddressIdentityArn()
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the
sending authorization policy that permits you to use the email address specified in the
FromEmailAddress
parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
attaches a policy to it that authorizes you to use sender@example.com, then you would specify the
FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
FromEmailAddress
to be sender@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
FromEmailAddress
parameter.
For example, if the owner of example.com (which has ARN
arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to
use sender@example.com, then you would specify the FromEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress
to be
sender@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
public SendBulkEmailRequest withFromEmailAddressIdentityArn(String fromEmailAddressIdentityArn)
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the
sending authorization policy that permits you to use the email address specified in the
FromEmailAddress
parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
attaches a policy to it that authorizes you to use sender@example.com, then you would specify the
FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
FromEmailAddress
to be sender@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
fromEmailAddressIdentityArn
- This parameter is used only for sending authorization. It is the ARN of the identity that is associated
with the sending authorization policy that permits you to use the email address specified in the
FromEmailAddress
parameter.
For example, if the owner of example.com (which has ARN
arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to
use sender@example.com, then you would specify the FromEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress
to be
sender@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
public List<String> getReplyToAddresses()
The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
public void setReplyToAddresses(Collection<String> replyToAddresses)
The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
replyToAddresses
- The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to
address receives the reply.public SendBulkEmailRequest withReplyToAddresses(String... replyToAddresses)
The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
NOTE: This method appends the values to the existing list (if any). Use
setReplyToAddresses(java.util.Collection)
or withReplyToAddresses(java.util.Collection)
if you
want to override the existing values.
replyToAddresses
- The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to
address receives the reply.public SendBulkEmailRequest withReplyToAddresses(Collection<String> replyToAddresses)
The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
replyToAddresses
- The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to
address receives the reply.public void setFeedbackForwardingEmailAddress(String feedbackForwardingEmailAddress)
The address that you want bounce and complaint notifications to be sent to.
feedbackForwardingEmailAddress
- The address that you want bounce and complaint notifications to be sent to.public String getFeedbackForwardingEmailAddress()
The address that you want bounce and complaint notifications to be sent to.
public SendBulkEmailRequest withFeedbackForwardingEmailAddress(String feedbackForwardingEmailAddress)
The address that you want bounce and complaint notifications to be sent to.
feedbackForwardingEmailAddress
- The address that you want bounce and complaint notifications to be sent to.public void setFeedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn)
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the
sending authorization policy that permits you to use the email address specified in the
FeedbackForwardingEmailAddress
parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to
be feedback@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
feedbackForwardingEmailAddressIdentityArn
- This parameter is used only for sending authorization. It is the ARN of the identity that is associated
with the sending authorization policy that permits you to use the email address specified in the
FeedbackForwardingEmailAddress
parameter.
For example, if the owner of example.com (which has ARN
arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to
use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
FeedbackForwardingEmailAddress
to be feedback@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
public String getFeedbackForwardingEmailAddressIdentityArn()
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the
sending authorization policy that permits you to use the email address specified in the
FeedbackForwardingEmailAddress
parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to
be feedback@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
FeedbackForwardingEmailAddress
parameter.
For example, if the owner of example.com (which has ARN
arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to
use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
FeedbackForwardingEmailAddress
to be feedback@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
public SendBulkEmailRequest withFeedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn)
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the
sending authorization policy that permits you to use the email address specified in the
FeedbackForwardingEmailAddress
parameter.
For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com)
attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to
be feedback@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
feedbackForwardingEmailAddressIdentityArn
- This parameter is used only for sending authorization. It is the ARN of the identity that is associated
with the sending authorization policy that permits you to use the email address specified in the
FeedbackForwardingEmailAddress
parameter.
For example, if the owner of example.com (which has ARN
arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to
use feedback@example.com, then you would specify the
FeedbackForwardingEmailAddressIdentityArn
to be
arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
FeedbackForwardingEmailAddress
to be feedback@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
public List<MessageTag> getDefaultEmailTags()
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail
operation. Tags correspond to characteristics of the email that you define, so that you
can publish email sending events.
SendEmail
operation. Tags correspond to characteristics of the email that you define, so
that you can publish email sending events.public void setDefaultEmailTags(Collection<MessageTag> defaultEmailTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail
operation. Tags correspond to characteristics of the email that you define, so that you
can publish email sending events.
defaultEmailTags
- A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail
operation. Tags correspond to characteristics of the email that you define, so that
you can publish email sending events.public SendBulkEmailRequest withDefaultEmailTags(MessageTag... defaultEmailTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail
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
setDefaultEmailTags(java.util.Collection)
or withDefaultEmailTags(java.util.Collection)
if you
want to override the existing values.
defaultEmailTags
- A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail
operation. Tags correspond to characteristics of the email that you define, so that
you can publish email sending events.public SendBulkEmailRequest withDefaultEmailTags(Collection<MessageTag> defaultEmailTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail
operation. Tags correspond to characteristics of the email that you define, so that you
can publish email sending events.
defaultEmailTags
- A list of tags, in the form of name/value pairs, to apply to an email that you send using the
SendEmail
operation. Tags correspond to characteristics of the email that you define, so that
you can publish email sending events.public void setDefaultContent(BulkEmailContent defaultContent)
An object that contains the body of the message. You can specify a template message.
defaultContent
- An object that contains the body of the message. You can specify a template message.public BulkEmailContent getDefaultContent()
An object that contains the body of the message. You can specify a template message.
public SendBulkEmailRequest withDefaultContent(BulkEmailContent defaultContent)
An object that contains the body of the message. You can specify a template message.
defaultContent
- An object that contains the body of the message. You can specify a template message.public List<BulkEmailEntry> getBulkEmailEntries()
The list of bulk email entry objects.
public void setBulkEmailEntries(Collection<BulkEmailEntry> bulkEmailEntries)
The list of bulk email entry objects.
bulkEmailEntries
- The list of bulk email entry objects.public SendBulkEmailRequest withBulkEmailEntries(BulkEmailEntry... bulkEmailEntries)
The list of bulk email entry objects.
NOTE: This method appends the values to the existing list (if any). Use
setBulkEmailEntries(java.util.Collection)
or withBulkEmailEntries(java.util.Collection)
if you
want to override the existing values.
bulkEmailEntries
- The list of bulk email entry objects.public SendBulkEmailRequest withBulkEmailEntries(Collection<BulkEmailEntry> bulkEmailEntries)
The list of bulk email entry objects.
bulkEmailEntries
- The list of bulk email entry objects.public void setConfigurationSetName(String configurationSetName)
The name of the configuration set to use when sending the email.
configurationSetName
- The name of the configuration set to use when sending the email.public String getConfigurationSetName()
The name of the configuration set to use when sending the email.
public SendBulkEmailRequest withConfigurationSetName(String configurationSetName)
The name of the configuration set to use when sending the email.
configurationSetName
- The name of the configuration set to use when sending the email.public String toString()
toString
in class Object
Object.toString()
public SendBulkEmailRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()