Interface BulkEmailEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BulkEmailEntry.Builder,BulkEmailEntry>,SdkBuilder<BulkEmailEntry.Builder,BulkEmailEntry>,SdkPojo
- Enclosing class:
- BulkEmailEntry
public static interface BulkEmailEntry.Builder extends SdkPojo, CopyableBuilder<BulkEmailEntry.Builder,BulkEmailEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BulkEmailEntry.Builderdestination(Consumer<Destination.Builder> destination)Represents the destination of the message, consisting of To:, CC:, and BCC: fields.BulkEmailEntry.Builderdestination(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.BulkEmailEntry.BuilderreplacementEmailContent(ReplacementEmailContent replacementEmailContent)TheReplacementEmailContentassociated with aBulkEmailEntry.BulkEmailEntry.BuilderreplacementHeaders(Collection<MessageHeader> replacementHeaders)The list of message headers associated with theBulkEmailEntrydata type.BulkEmailEntry.BuilderreplacementHeaders(Consumer<MessageHeader.Builder>... replacementHeaders)The list of message headers associated with theBulkEmailEntrydata type.BulkEmailEntry.BuilderreplacementHeaders(MessageHeader... replacementHeaders)The list of message headers associated with theBulkEmailEntrydata type.BulkEmailEntry.BuilderreplacementTags(Collection<MessageTag> replacementTags)A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendBulkTemplatedEmailoperation.BulkEmailEntry.BuilderreplacementTags(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.BulkEmailEntry.BuilderreplacementTags(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
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 Detail
-
destination
BulkEmailEntry.Builder destination(Destination 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
default BulkEmailEntry.Builder destination(Consumer<Destination.Builder> 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:
destination(Destination)
-
replacementTags
BulkEmailEntry.Builder replacementTags(Collection<MessageTag> 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
BulkEmailEntry.Builder replacementTags(MessageTag... 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
BulkEmailEntry.Builder 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 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 to#replacementTags(List.) - 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:
#replacementTags(java.util.Collection)
-
replacementEmailContent
BulkEmailEntry.Builder replacementEmailContent(ReplacementEmailContent 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:
replacementEmailContent(ReplacementEmailContent)
-
replacementHeaders
BulkEmailEntry.Builder replacementHeaders(Collection<MessageHeader> 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
BulkEmailEntry.Builder replacementHeaders(MessageHeader... 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
BulkEmailEntry.Builder replacementHeaders(Consumer<MessageHeader.Builder>... 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 to#replacementHeaders(List.) - 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:
#replacementHeaders(java.util.Collection)
-
-
-