public static interface TemplateConfiguration.Builder extends SdkPojo, CopyableBuilder<TemplateConfiguration.Builder,TemplateConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default TemplateConfiguration.Builder |
emailTemplate(Consumer<Template.Builder> emailTemplate)
The email template to use for the message.
|
TemplateConfiguration.Builder |
emailTemplate(Template emailTemplate)
The email template to use for the message.
|
default TemplateConfiguration.Builder |
pushTemplate(Consumer<Template.Builder> pushTemplate)
The push notification template to use for the message.
|
TemplateConfiguration.Builder |
pushTemplate(Template pushTemplate)
The push notification template to use for the message.
|
default TemplateConfiguration.Builder |
smsTemplate(Consumer<Template.Builder> smsTemplate)
The SMS template to use for the message.
|
TemplateConfiguration.Builder |
smsTemplate(Template smsTemplate)
The SMS template to use for the message.
|
default TemplateConfiguration.Builder |
voiceTemplate(Consumer<Template.Builder> voiceTemplate)
The voice template to use for the message.
|
TemplateConfiguration.Builder |
voiceTemplate(Template voiceTemplate)
The voice template to use for the message.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTemplateConfiguration.Builder emailTemplate(Template emailTemplate)
The email template to use for the message.
emailTemplate - The email template to use for the message.default TemplateConfiguration.Builder emailTemplate(Consumer<Template.Builder> emailTemplate)
The email template to use for the message.
This is a convenience that creates an instance of theTemplate.Builder avoiding the need to create
one manually via Template.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to emailTemplate(Template).emailTemplate - a consumer that will call methods on Template.BuilderemailTemplate(Template)TemplateConfiguration.Builder pushTemplate(Template pushTemplate)
The push notification template to use for the message.
pushTemplate - The push notification template to use for the message.default TemplateConfiguration.Builder pushTemplate(Consumer<Template.Builder> pushTemplate)
The push notification template to use for the message.
This is a convenience that creates an instance of theTemplate.Builder avoiding the need to create
one manually via Template.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to pushTemplate(Template).pushTemplate - a consumer that will call methods on Template.BuilderpushTemplate(Template)TemplateConfiguration.Builder smsTemplate(Template smsTemplate)
The SMS template to use for the message.
smsTemplate - The SMS template to use for the message.default TemplateConfiguration.Builder smsTemplate(Consumer<Template.Builder> smsTemplate)
The SMS template to use for the message.
This is a convenience that creates an instance of theTemplate.Builder avoiding the need to create
one manually via Template.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to smsTemplate(Template).smsTemplate - a consumer that will call methods on Template.BuildersmsTemplate(Template)TemplateConfiguration.Builder voiceTemplate(Template voiceTemplate)
The voice template to use for the message. This object isn't supported for campaigns.
voiceTemplate - The voice template to use for the message. This object isn't supported for campaigns.default TemplateConfiguration.Builder voiceTemplate(Consumer<Template.Builder> voiceTemplate)
The voice template to use for the message. This object isn't supported for campaigns.
This is a convenience that creates an instance of theTemplate.Builder avoiding the need to create
one manually via Template.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to voiceTemplate(Template).voiceTemplate - a consumer that will call methods on Template.BuildervoiceTemplate(Template)Copyright © 2021. All rights reserved.