Interface UpdateWhatsAppMessageTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateWhatsAppMessageTemplateRequest.Builder,
,UpdateWhatsAppMessageTemplateRequest> SdkBuilder<UpdateWhatsAppMessageTemplateRequest.Builder,
,UpdateWhatsAppMessageTemplateRequest> SdkPojo
,SdkRequest.Builder
,SocialMessagingRequest.Builder
- Enclosing class:
UpdateWhatsAppMessageTemplateRequest
@Mutable
@NotThreadSafe
public static interface UpdateWhatsAppMessageTemplateRequest.Builder
extends SocialMessagingRequest.Builder, SdkPojo, CopyableBuilder<UpdateWhatsAppMessageTemplateRequest.Builder,UpdateWhatsAppMessageTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the WhatsApp Business Account associated with this template.metaTemplateId
(String metaTemplateId) The numeric ID of the template assigned by Meta.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.templateCategory
(String templateCategory) The new category for the template (for example, UTILITY or MARKETING).templateComponents
(SdkBytes templateComponents) The updated components of the template as a JSON blob (maximum 3000 characters).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
-
id
The ID of the WhatsApp Business Account associated with this template.
- Parameters:
id
- The ID of the WhatsApp Business Account associated with this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metaTemplateId
The numeric ID of the template assigned by Meta.
- Parameters:
metaTemplateId
- The numeric ID of the template assigned by Meta.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateCategory
The new category for the template (for example, UTILITY or MARKETING).
- Parameters:
templateCategory
- The new category for the template (for example, UTILITY or MARKETING).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateComponents
The updated components of the template as a JSON blob (maximum 3000 characters).
- Parameters:
templateComponents
- The updated components of the template as a JSON blob (maximum 3000 characters).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWhatsAppMessageTemplateRequest.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
UpdateWhatsAppMessageTemplateRequest.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.
-