Interface TemplateConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TemplateConfiguration.Builder,,TemplateConfiguration> SdkBuilder<TemplateConfiguration.Builder,,TemplateConfiguration> SdkPojo
- Enclosing class:
TemplateConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault TemplateConfiguration.BuilderemailTemplate(Consumer<Template.Builder> emailTemplate) The email template to use for the message.emailTemplate(Template emailTemplate) The email template to use for the message.default TemplateConfiguration.BuilderinAppTemplate(Consumer<Template.Builder> inAppTemplate) The InApp template to use for the message.inAppTemplate(Template inAppTemplate) The InApp template to use for the message.default TemplateConfiguration.BuilderpushTemplate(Consumer<Template.Builder> pushTemplate) The push notification template to use for the message.pushTemplate(Template pushTemplate) The push notification template to use for the message.default TemplateConfiguration.BuildersmsTemplate(Consumer<Template.Builder> smsTemplate) The SMS template to use for the message.smsTemplate(Template smsTemplate) The SMS template to use for the message.default TemplateConfiguration.BuildervoiceTemplate(Consumer<Template.Builder> voiceTemplate) The voice template to use for the message.voiceTemplate(Template voiceTemplate) The voice template to use for the message.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
-
emailTemplate
The email template to use for the message.
- Parameters:
emailTemplate- The email template to use for the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailTemplate
The email template to use for the message.
This is a convenience method that creates an instance of theTemplate.Builderavoiding the need to create one manually viaTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemailTemplate(Template).- Parameters:
emailTemplate- a consumer that will call methods onTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pushTemplate
The push notification template to use for the message.
- Parameters:
pushTemplate- The push notification template to use for the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pushTemplate
The push notification template to use for the message.
This is a convenience method that creates an instance of theTemplate.Builderavoiding the need to create one manually viaTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topushTemplate(Template).- Parameters:
pushTemplate- a consumer that will call methods onTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
smsTemplate
The SMS template to use for the message.
- Parameters:
smsTemplate- The SMS template to use for the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsTemplate
The SMS template to use for the message.
This is a convenience method that creates an instance of theTemplate.Builderavoiding the need to create one manually viaTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosmsTemplate(Template).- Parameters:
smsTemplate- a consumer that will call methods onTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
voiceTemplate
The voice template to use for the message. This object isn't supported for campaigns.
- Parameters:
voiceTemplate- The voice template to use for the message. This object isn't supported for campaigns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceTemplate
The voice template to use for the message. This object isn't supported for campaigns.
This is a convenience method that creates an instance of theTemplate.Builderavoiding the need to create one manually viaTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoiceTemplate(Template).- Parameters:
voiceTemplate- a consumer that will call methods onTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inAppTemplate
The InApp template to use for the message. The InApp template object is not supported for SendMessages.
- Parameters:
inAppTemplate- The InApp template to use for the message. The InApp template object is not supported for SendMessages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inAppTemplate
The InApp template to use for the message. The InApp template object is not supported for SendMessages.
This is a convenience method that creates an instance of theTemplate.Builderavoiding the need to create one manually viaTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinAppTemplate(Template).- Parameters:
inAppTemplate- a consumer that will call methods onTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-