Interface CreateWhatsAppMessageTemplateFromLibraryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateWhatsAppMessageTemplateFromLibraryRequest.Builder,
,CreateWhatsAppMessageTemplateFromLibraryRequest> SdkBuilder<CreateWhatsAppMessageTemplateFromLibraryRequest.Builder,
,CreateWhatsAppMessageTemplateFromLibraryRequest> SdkPojo
,SdkRequest.Builder
,SocialMessagingRequest.Builder
- Enclosing class:
CreateWhatsAppMessageTemplateFromLibraryRequest
@Mutable
@NotThreadSafe
public static interface CreateWhatsAppMessageTemplateFromLibraryRequest.Builder
extends SocialMessagingRequest.Builder, SdkPojo, CopyableBuilder<CreateWhatsAppMessageTemplateFromLibraryRequest.Builder,CreateWhatsAppMessageTemplateFromLibraryRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the WhatsApp Business Account to associate with this template.metaLibraryTemplate
(Consumer<MetaLibraryTemplate.Builder> metaLibraryTemplate) The template configuration from Meta's library, including customizations for buttons and body text.metaLibraryTemplate
(MetaLibraryTemplate metaLibraryTemplate) The template configuration from Meta's library, including customizations for buttons and body text.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingRequest.Builder
build
-
Method Details
-
metaLibraryTemplate
CreateWhatsAppMessageTemplateFromLibraryRequest.Builder metaLibraryTemplate(MetaLibraryTemplate metaLibraryTemplate) The template configuration from Meta's library, including customizations for buttons and body text.
- Parameters:
metaLibraryTemplate
- The template configuration from Meta's library, including customizations for buttons and body text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metaLibraryTemplate
default CreateWhatsAppMessageTemplateFromLibraryRequest.Builder metaLibraryTemplate(Consumer<MetaLibraryTemplate.Builder> metaLibraryTemplate) The template configuration from Meta's library, including customizations for buttons and body text.
This is a convenience method that creates an instance of theMetaLibraryTemplate.Builder
avoiding the need to create one manually viaMetaLibraryTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometaLibraryTemplate(MetaLibraryTemplate)
.- Parameters:
metaLibraryTemplate
- a consumer that will call methods onMetaLibraryTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the WhatsApp Business Account to associate with this template.
- Parameters:
id
- The ID of the WhatsApp Business Account to associate with this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWhatsAppMessageTemplateFromLibraryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWhatsAppMessageTemplateFromLibraryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-