Interface BulkEmailDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BulkEmailDestination.Builder,
,BulkEmailDestination> SdkBuilder<BulkEmailDestination.Builder,
,BulkEmailDestination> SdkPojo
- Enclosing class:
BulkEmailDestination
-
Method Summary
Modifier and TypeMethodDescriptiondefault BulkEmailDestination.Builder
destination
(Consumer<Destination.Builder> destination) Sets the value of the Destination property for this object.destination
(Destination destination) Sets the value of the Destination property for this object.replacementTags
(Collection<MessageTag> replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send usingSendBulkTemplatedEmail
.replacementTags
(Consumer<MessageTag.Builder>... replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send usingSendBulkTemplatedEmail
.replacementTags
(MessageTag... replacementTags) A list of tags, in the form of name/value pairs, to apply to an email that you send usingSendBulkTemplatedEmail
.replacementTemplateData
(String replacementTemplateData) A list of replacement values to apply to the template.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
Sets the value of the Destination property for this object.- Parameters:
destination
- The new value for the Destination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
Sets the value of the Destination property for this object. This is a convenience method that creates an instance of theDestination.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
SendBulkTemplatedEmail
. 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 usingSendBulkTemplatedEmail
. 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
SendBulkTemplatedEmail
. 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 usingSendBulkTemplatedEmail
. 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
This is a convenience method that creates an instance of theSendBulkTemplatedEmail
. 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:
-
replacementTemplateData
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
- Parameters:
replacementTemplateData
- A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-