Interface SendBounceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendBounceRequest.Builder,SendBounceRequest>,SdkBuilder<SendBounceRequest.Builder,SendBounceRequest>,SdkPojo,SdkRequest.Builder,SesRequest.Builder
- Enclosing class:
- SendBounceRequest
public static interface SendBounceRequest.Builder extends SesRequest.Builder, SdkPojo, CopyableBuilder<SendBounceRequest.Builder,SendBounceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SendBounceRequest.BuilderbouncedRecipientInfoList(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.BuilderbouncedRecipientInfoList(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.BuilderbouncedRecipientInfoList(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.BuilderbounceSender(String bounceSender)The address to use in the "From" header of the bounce message.SendBounceRequest.BuilderbounceSenderArn(String bounceSenderArn)This parameter is used only for sending authorization.SendBounceRequest.Builderexplanation(String explanation)Human-readable text for the bounce message to explain the failure.default SendBounceRequest.BuildermessageDsn(Consumer<MessageDsn.Builder> messageDsn)Message-related DSN fields.SendBounceRequest.BuildermessageDsn(MessageDsn messageDsn)Message-related DSN fields.SendBounceRequest.BuilderoriginalMessageId(String originalMessageId)The message ID of the message to be bounced.SendBounceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SendBounceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ses.model.SesRequest.Builder
build
-
-
-
-
Method Detail
-
originalMessageId
SendBounceRequest.Builder originalMessageId(String originalMessageId)
The message ID of the message to be bounced.
- Parameters:
originalMessageId- The message ID of the message to be bounced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bounceSender
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
explanation
SendBounceRequest.Builder explanation(String explanation)
Human-readable text for the bounce message to explain the failure. If not specified, the text is auto-generated based on the bounced recipient information.
- Parameters:
explanation- Human-readable text for the bounce message to explain the failure. If not specified, the text is auto-generated based on the bounced recipient information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageDsn
SendBounceRequest.Builder messageDsn(MessageDsn messageDsn)
Message-related DSN fields. If not specified, Amazon SES chooses the values.
- Parameters:
messageDsn- Message-related DSN fields. If not specified, Amazon SES chooses the values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageDsn
default SendBounceRequest.Builder messageDsn(Consumer<MessageDsn.Builder> messageDsn)
Message-related DSN fields. If not specified, Amazon SES chooses the values.
This is a convenience method that creates an instance of theMessageDsn.Builderavoiding the need to create one manually viaMessageDsn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessageDsn(MessageDsn).- Parameters:
messageDsn- a consumer that will call methods onMessageDsn.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
messageDsn(MessageDsn)
-
bouncedRecipientInfoList
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
BouncedRecipientInfoin the list.- Parameters:
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 oneBouncedRecipientInfoin the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bouncedRecipientInfoList
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
BouncedRecipientInfoin the list.- Parameters:
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 oneBouncedRecipientInfoin the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bouncedRecipientInfoList
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
This is a convenience method that creates an instance of theBouncedRecipientInfoin the list.BouncedRecipientInfo.Builderavoiding the need to create one manually viaBouncedRecipientInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#bouncedRecipientInfoList(List.) - Parameters:
bouncedRecipientInfoList- a consumer that will call methods onBouncedRecipientInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#bouncedRecipientInfoList(java.util.Collection)
-
bounceSenderArn
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendBounceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SendBounceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-