Interface WabaPhoneNumberSetupFinalization.Builder

  • Method Details

    • id

      The unique identifier of the originating phone number associated with the media. Phone number identifiers are formatted as phone-number-id-01234567890123456789012345678901. Use GetLinkedWhatsAppBusinessAccount to find a phone number's id.

      Parameters:
      id - The unique identifier of the originating phone number associated with the media. Phone number identifiers are formatted as phone-number-id-01234567890123456789012345678901. Use GetLinkedWhatsAppBusinessAccount to find a phone number's id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • twoFactorPin

      The PIN to use for two-step verification. To reset your PIN follow the directions in Updating PIN in the WhatsApp Business Platform Cloud API Reference.

      Parameters:
      twoFactorPin - The PIN to use for two-step verification. To reset your PIN follow the directions in Updating PIN in the WhatsApp Business Platform Cloud API Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataLocalizationRegion

      WabaPhoneNumberSetupFinalization.Builder dataLocalizationRegion(String dataLocalizationRegion)

      The two letter ISO region for the location of where Meta will store data.

      Asia–Pacific (APAC)

      • Australia AU

      • Indonesia ID

      • India IN

      • Japan JP

      • Singapore SG

      • South Korea KR

      Europe

      • Germany DE

      • Switzerland CH

      • United Kingdom GB

      Latin America (LATAM)

      • Brazil BR

      Middle East and Africa (MEA)

      • Bahrain BH

      • South Africa ZA

      • United Arab Emirates AE

      North America (NORAM)

      • Canada CA

      Parameters:
      dataLocalizationRegion - The two letter ISO region for the location of where Meta will store data.

      Asia–Pacific (APAC)

      • Australia AU

      • Indonesia ID

      • India IN

      • Japan JP

      • Singapore SG

      • South Korea KR

      Europe

      • Germany DE

      • Switzerland CH

      • United Kingdom GB

      Latin America (LATAM)

      • Brazil BR

      Middle East and Africa (MEA)

      • Bahrain BH

      • South Africa ZA

      • United Arab Emirates AE

      North America (NORAM)

      • Canada CA

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of key and value pair tags.

      Parameters:
      tags - An array of key and value pair tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of key and value pair tags.

      Parameters:
      tags - An array of key and value pair tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of key and value pair tags.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: