Interface BulkEmailEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BulkEmailEntry.Builder,
,BulkEmailEntry> SdkBuilder<BulkEmailEntry.Builder,
,BulkEmailEntry> SdkPojo
- Enclosing class:
BulkEmailEntry
-
Method Summary
Modifier and TypeMethodDescriptiondefault BulkEmailEntry.Builder
destination
(Consumer<Destination.Builder> destination) Represents the destination of the message, consisting of To:, CC:, and BCC: fields.destination
(Destination destination) Represents the destination of the message, consisting of To:, CC:, and BCC: fields.default BulkEmailEntry.Builder
replacementEmailContent
(Consumer<ReplacementEmailContent.Builder> replacementEmailContent) TheReplacementEmailContent
associated with aBulkEmailEntry
.replacementEmailContent
(ReplacementEmailContent replacementEmailContent) TheReplacementEmailContent
associated with aBulkEmailEntry
.replacementTags
(Collection<MessageTag> replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmail
operation.replacementTags
(Consumer<MessageTag.Builder>... replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmail
operation.replacementTags
(MessageTag... replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmail
operation.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
-
Method Details
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builder
avoiding the need to create one manually viaDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(Destination)
.- Parameters:
destination
- a consumer that will call methods onDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
replacementTags
- A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
replacementTags
- A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replacementTags
A list of tags, in the form of name/value pairs, to apply to an email that you send using the
This is a convenience method that creates an instance of theSendBulkTemplatedEmail
operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.MessageTag.Builder
avoiding the need to create one manually viaMessageTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplacementTags(List<MessageTag>)
.- Parameters:
replacementTags
- a consumer that will call methods onMessageTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replacementEmailContent
The
ReplacementEmailContent
associated with aBulkEmailEntry
.- Parameters:
replacementEmailContent
- TheReplacementEmailContent
associated with aBulkEmailEntry
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replacementEmailContent
default BulkEmailEntry.Builder replacementEmailContent(Consumer<ReplacementEmailContent.Builder> replacementEmailContent) The
This is a convenience method that creates an instance of theReplacementEmailContent
associated with aBulkEmailEntry
.ReplacementEmailContent.Builder
avoiding the need to create one manually viaReplacementEmailContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplacementEmailContent(ReplacementEmailContent)
.- Parameters:
replacementEmailContent
- a consumer that will call methods onReplacementEmailContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-