Interface BulkEmailEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BulkEmailEntry.Builder,,BulkEmailEntry> SdkBuilder<BulkEmailEntry.Builder,,BulkEmailEntry> SdkPojo
- Enclosing class:
BulkEmailEntry
-
Method Summary
Modifier and TypeMethodDescriptiondefault BulkEmailEntry.Builderdestination(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.BuilderreplacementEmailContent(Consumer<ReplacementEmailContent.Builder> replacementEmailContent) TheReplacementEmailContentassociated with aBulkEmailEntry.replacementEmailContent(ReplacementEmailContent replacementEmailContent) TheReplacementEmailContentassociated with aBulkEmailEntry.replacementHeaders(Collection<MessageHeader> replacementHeaders) The list of message headers associated with theBulkEmailEntrydata type.replacementHeaders(Consumer<MessageHeader.Builder>... replacementHeaders) The list of message headers associated with theBulkEmailEntrydata type.replacementHeaders(MessageHeader... replacementHeaders) The list of message headers associated with theBulkEmailEntrydata type.replacementTags(Collection<MessageTag> replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmailoperation.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 theSendBulkTemplatedEmailoperation.replacementTags(MessageTag... replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmailoperation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
This is a convenience method that creates an instance of theAmazon 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.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,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
SendBulkTemplatedEmailoperation. 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 theSendBulkTemplatedEmailoperation. 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
SendBulkTemplatedEmailoperation. 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 theSendBulkTemplatedEmailoperation. 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 theSendBulkTemplatedEmailoperation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.MessageTag.Builderavoiding the need to create one manually viaMessageTag.builder().When the
Consumercompletes,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
ReplacementEmailContentassociated with aBulkEmailEntry.- Parameters:
replacementEmailContent- TheReplacementEmailContentassociated 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 theReplacementEmailContentassociated with aBulkEmailEntry.ReplacementEmailContent.Builderavoiding the need to create one manually viaReplacementEmailContent.builder().When the
Consumercompletes,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:
-
replacementHeaders
The list of message headers associated with the
BulkEmailEntrydata type.-
Headers Not Present in
BulkEmailEntry: If a header is specified inTemplatebut not inBulkEmailEntry, the header fromTemplatewill be added to the outgoing email. -
Headers Present in
BulkEmailEntry: If a header is specified inBulkEmailEntry, it takes precedence over any header of the same name specified inTemplate:-
If the header is also defined within
Template, the value fromBulkEmailEntrywill replace the header's value in the email. -
If the header is not defined within
Template, it will simply be added to the email as specified inBulkEmailEntry.
-
- Parameters:
replacementHeaders- The list of message headers associated with theBulkEmailEntrydata type.-
Headers Not Present in
BulkEmailEntry: If a header is specified inTemplatebut not inBulkEmailEntry, the header fromTemplatewill be added to the outgoing email. -
Headers Present in
BulkEmailEntry: If a header is specified inBulkEmailEntry, it takes precedence over any header of the same name specified inTemplate:-
If the header is also defined within
Template, the value fromBulkEmailEntrywill replace the header's value in the email. -
If the header is not defined within
Template, it will simply be added to the email as specified inBulkEmailEntry.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replacementHeaders
The list of message headers associated with the
BulkEmailEntrydata type.-
Headers Not Present in
BulkEmailEntry: If a header is specified inTemplatebut not inBulkEmailEntry, the header fromTemplatewill be added to the outgoing email. -
Headers Present in
BulkEmailEntry: If a header is specified inBulkEmailEntry, it takes precedence over any header of the same name specified inTemplate:-
If the header is also defined within
Template, the value fromBulkEmailEntrywill replace the header's value in the email. -
If the header is not defined within
Template, it will simply be added to the email as specified inBulkEmailEntry.
-
- Parameters:
replacementHeaders- The list of message headers associated with theBulkEmailEntrydata type.-
Headers Not Present in
BulkEmailEntry: If a header is specified inTemplatebut not inBulkEmailEntry, the header fromTemplatewill be added to the outgoing email. -
Headers Present in
BulkEmailEntry: If a header is specified inBulkEmailEntry, it takes precedence over any header of the same name specified inTemplate:-
If the header is also defined within
Template, the value fromBulkEmailEntrywill replace the header's value in the email. -
If the header is not defined within
Template, it will simply be added to the email as specified inBulkEmailEntry.
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replacementHeaders
The list of message headers associated with the
BulkEmailEntrydata type.-
Headers Not Present in
BulkEmailEntry: If a header is specified inTemplatebut not inBulkEmailEntry, the header fromTemplatewill be added to the outgoing email. -
Headers Present in
BulkEmailEntry: If a header is specified inBulkEmailEntry, it takes precedence over any header of the same name specified inTemplate:-
If the header is also defined within
Template, the value fromBulkEmailEntrywill replace the header's value in the email. -
If the header is not defined within
Template, it will simply be added to the email as specified inBulkEmailEntry.
-
MessageHeader.Builderavoiding the need to create one manually viaMessageHeader.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplacementHeaders(List<MessageHeader>).- Parameters:
replacementHeaders- a consumer that will call methods onMessageHeader.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-