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
overrideConfigurationMethods 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, sdkFieldsMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-