Interface CreateWhatsAppFlowRequest.Builder

  • 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

      CreateWhatsAppFlowRequest.Builder categoriesWithStrings(Collection<String> 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.
    • categoriesWithStrings

      CreateWhatsAppFlowRequest.Builder categoriesWithStrings(String... 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.
    • 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 true to publish the Flow immediately after creation. Requires a valid flowJson that passes Meta's validation.

      Parameters:
      publish - Set to true to publish the Flow immediately after creation. Requires a valid flowJson that passes Meta's validation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloneFlowId

      CreateWhatsAppFlowRequest.Builder cloneFlowId(String 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.