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