Interface CreateWhatsAppFlowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWhatsAppFlowRequest.Builder,,CreateWhatsAppFlowRequest> SdkBuilder<CreateWhatsAppFlowRequest.Builder,,CreateWhatsAppFlowRequest> SdkPojo,SdkRequest.Builder,SocialMessagingRequest.Builder
- Enclosing class:
CreateWhatsAppFlowRequest
-
Method Summary
Modifier and TypeMethodDescriptioncategories(Collection<MetaFlowCategory> categories) The categories that classify the business purpose of the Flow.categories(MetaFlowCategory... categories) The categories that classify the business purpose of the Flow.categoriesWithStrings(String... categories) The categories that classify the business purpose of the Flow.categoriesWithStrings(Collection<String> categories) The categories that classify the business purpose of the Flow.cloneFlowId(String cloneFlowId) The ID of an existing Flow within the same WhatsApp Business Account to clone.The Flow JSON definition that describes the screens, components, and logic of the Flow.The name of the Flow.The ID of the WhatsApp Business Account to associate with this Flow.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Set totrueto publish the Flow immediately after creation.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 to associate with this Flow.
- Parameters:
id- The ID of the WhatsApp Business Account to associate with this Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowName
The name of the Flow. Must be unique within the WhatsApp Business Account.
- Parameters:
flowName- The name of the Flow. Must be unique within the WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoriesWithStrings
The categories that classify the business purpose of the Flow. At least one category is required.
- Parameters:
categories- The categories that classify the business purpose of the Flow. At least one category is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoriesWithStrings
The categories that classify the business purpose of the Flow. At least one category is required.
- Parameters:
categories- The categories that classify the business purpose of the Flow. At least one category is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories that classify the business purpose of the Flow. At least one category is required.
- Parameters:
categories- The categories that classify the business purpose of the Flow. At least one category is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories that classify the business purpose of the Flow. At least one category is required.
- Parameters:
categories- The categories that classify the business purpose of the Flow. At least one category is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowJson
The Flow JSON definition that describes the screens, components, and logic of the Flow. Maximum size is 10 MB.
- Parameters:
flowJson- The Flow JSON definition that describes the screens, components, and logic of the Flow. Maximum size is 10 MB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publish
Set to
trueto publish the Flow immediately after creation. Requires a validflowJsonthat passes Meta's validation.- Parameters:
publish- Set totrueto publish the Flow immediately after creation. Requires a validflowJsonthat passes Meta's validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloneFlowId
The ID of an existing Flow within the same WhatsApp Business Account to clone.
- Parameters:
cloneFlowId- The ID of an existing Flow within the same WhatsApp Business Account to clone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWhatsAppFlowRequest.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
CreateWhatsAppFlowRequest.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.
-