Interface BulkEmailDestination.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<BulkEmailDestination.Builder,BulkEmailDestination>
,SdkBuilder<BulkEmailDestination.Builder,BulkEmailDestination>
,SdkPojo
- Enclosing class:
- BulkEmailDestination
public static interface BulkEmailDestination.Builder extends SdkPojo, CopyableBuilder<BulkEmailDestination.Builder,BulkEmailDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BulkEmailDestination.Builder
destination(Consumer<Destination.Builder> destination)
Sets the value of the Destination property for this object.BulkEmailDestination.Builder
destination(Destination destination)
Sets the value of the Destination property for this object.BulkEmailDestination.Builder
replacementTags(Collection<MessageTag> replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send usingSendBulkTemplatedEmail
.BulkEmailDestination.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 usingSendBulkTemplatedEmail
.BulkEmailDestination.Builder
replacementTags(MessageTag... replacementTags)
A list of tags, in the form of name/value pairs, to apply to an email that you send usingSendBulkTemplatedEmail
.BulkEmailDestination.Builder
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 Detail
-
destination
BulkEmailDestination.Builder destination(Destination 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
default BulkEmailDestination.Builder destination(Consumer<Destination.Builder> 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:
destination(Destination)
-
replacementTags
BulkEmailDestination.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
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
BulkEmailDestination.Builder replacementTags(MessageTag... 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
BulkEmailDestination.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
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 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
)
-
replacementTemplateData
BulkEmailDestination.Builder replacementTemplateData(String 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.
-
-