public static interface SendBounceRequest.Builder extends SesRequest.Builder, CopyableBuilder<SendBounceRequest.Builder,SendBounceRequest>
Modifier and Type | Method and Description |
---|---|
SendBounceRequest.Builder |
bouncedRecipientInfoList(BouncedRecipientInfo... bouncedRecipientInfoList)
A list of recipients of the bounced message, including the information required to create the Delivery Status
Notifications (DSNs) for the recipients.
|
SendBounceRequest.Builder |
bouncedRecipientInfoList(Collection<BouncedRecipientInfo> bouncedRecipientInfoList)
A list of recipients of the bounced message, including the information required to create the Delivery Status
Notifications (DSNs) for the recipients.
|
SendBounceRequest.Builder |
bouncedRecipientInfoList(Consumer<BouncedRecipientInfo.Builder>... bouncedRecipientInfoList)
A list of recipients of the bounced message, including the information required to create the Delivery Status
Notifications (DSNs) for the recipients.
|
SendBounceRequest.Builder |
bounceSender(String bounceSender)
The address to use in the "From" header of the bounce message.
|
SendBounceRequest.Builder |
bounceSenderArn(String bounceSenderArn)
This parameter is used only for sending authorization.
|
SendBounceRequest.Builder |
explanation(String explanation)
Human-readable text for the bounce message to explain the failure.
|
default SendBounceRequest.Builder |
messageDsn(Consumer<MessageDsn.Builder> messageDsn)
Message-related DSN fields.
|
SendBounceRequest.Builder |
messageDsn(MessageDsn messageDsn)
Message-related DSN fields.
|
SendBounceRequest.Builder |
originalMessageId(String originalMessageId)
The message ID of the message to be bounced.
|
SendBounceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SendBounceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
SendBounceRequest.Builder originalMessageId(String originalMessageId)
The message ID of the message to be bounced.
originalMessageId
- The message ID of the message to be bounced.SendBounceRequest.Builder bounceSender(String bounceSender)
The address to use in the "From" header of the bounce message. This must be an identity that you have verified with Amazon SES.
bounceSender
- The address to use in the "From" header of the bounce message. This must be an identity that you have
verified with Amazon SES.SendBounceRequest.Builder explanation(String explanation)
Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information.
explanation
- Human-readable text for the bounce message to explain the failure. If not specified, the text will be
auto-generated based on the bounced recipient information.SendBounceRequest.Builder messageDsn(MessageDsn messageDsn)
Message-related DSN fields. If not specified, Amazon SES will choose the values.
messageDsn
- Message-related DSN fields. If not specified, Amazon SES will choose the values.default SendBounceRequest.Builder messageDsn(Consumer<MessageDsn.Builder> messageDsn)
Message-related DSN fields. If not specified, Amazon SES will choose the values.
This is a convenience that creates an instance of theMessageDsn.Builder
avoiding the need to create
one manually via MessageDsn.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to messageDsn(MessageDsn)
.messageDsn
- a consumer that will call methods on MessageDsn.Builder
messageDsn(MessageDsn)
SendBounceRequest.Builder bouncedRecipientInfoList(Collection<BouncedRecipientInfo> bouncedRecipientInfoList)
A list of recipients of the bounced message, including the information required to create the Delivery Status
Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo
in
the list.
bouncedRecipientInfoList
- A list of recipients of the bounced message, including the information required to create the Delivery
Status Notifications (DSNs) for the recipients. You must specify at least one
BouncedRecipientInfo
in the list.SendBounceRequest.Builder bouncedRecipientInfoList(BouncedRecipientInfo... bouncedRecipientInfoList)
A list of recipients of the bounced message, including the information required to create the Delivery Status
Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo
in
the list.
bouncedRecipientInfoList
- A list of recipients of the bounced message, including the information required to create the Delivery
Status Notifications (DSNs) for the recipients. You must specify at least one
BouncedRecipientInfo
in the list.SendBounceRequest.Builder bouncedRecipientInfoList(Consumer<BouncedRecipientInfo.Builder>... bouncedRecipientInfoList)
A list of recipients of the bounced message, including the information required to create the Delivery Status
Notifications (DSNs) for the recipients. You must specify at least one BouncedRecipientInfo
in
the list.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #bouncedRecipientInfoList(List)
.bouncedRecipientInfoList
- a consumer that will call methods on List.Builder
#bouncedRecipientInfoList(List)
SendBounceRequest.Builder bounceSenderArn(String bounceSenderArn)
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 address in the "From" header of the bounce. For more information about sending authorization, see the Amazon SES Developer Guide.
bounceSenderArn
- 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 address in the "From"
header of the bounce. For more information about sending authorization, see the Amazon SES
Developer Guide.SendBounceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SendBounceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.