Interface MessageTemplateSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MessageTemplateSourceConfiguration.Builder,,MessageTemplateSourceConfiguration> SdkBuilder<MessageTemplateSourceConfiguration.Builder,,MessageTemplateSourceConfiguration> SdkPojo
- Enclosing class:
MessageTemplateSourceConfiguration
@Mutable
@NotThreadSafe
public static interface MessageTemplateSourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<MessageTemplateSourceConfiguration.Builder,MessageTemplateSourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe sourceConfiguration of the message template that applies to the WHATSAPP channel subtype.The sourceConfiguration of the message template that applies to the WHATSAPP channel subtype.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, sdkFieldNameToField, sdkFields
-
Method Details
-
whatsApp
MessageTemplateSourceConfiguration.Builder whatsApp(WhatsAppMessageTemplateSourceConfiguration whatsApp) The sourceConfiguration of the message template that applies to the WHATSAPP channel subtype.
- Parameters:
whatsApp- The sourceConfiguration of the message template that applies to the WHATSAPP channel subtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatsApp
default MessageTemplateSourceConfiguration.Builder whatsApp(Consumer<WhatsAppMessageTemplateSourceConfiguration.Builder> whatsApp) The sourceConfiguration of the message template that applies to the WHATSAPP channel subtype.
This is a convenience method that creates an instance of theWhatsAppMessageTemplateSourceConfiguration.Builderavoiding the need to create one manually viaWhatsAppMessageTemplateSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towhatsApp(WhatsAppMessageTemplateSourceConfiguration).- Parameters:
whatsApp- a consumer that will call methods onWhatsAppMessageTemplateSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-