Interface SendWhatsAppCallEventRequest.Builder

  • Method Details

    • originationPhoneNumberId

      SendWhatsAppCallEventRequest.Builder originationPhoneNumberId(String originationPhoneNumberId)

      The unique identifier of the origination phone number for the call. The phone number identifiers are formatted as phone-number-id-01234567890123456789012345678901. Use GetLinkedWhatsAppBusinessAccount to find a phone number's ID.

      Parameters:
      originationPhoneNumberId - The unique identifier of the origination phone number for the call. The 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.
    • metaApiVersion

      SendWhatsAppCallEventRequest.Builder metaApiVersion(String metaApiVersion)

      The version of the Meta Graph API to use for the request.

      Parameters:
      metaApiVersion - The version of the Meta Graph API to use for the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callEvent

      The call event payload to send, as a JSON blob in the format defined by the Meta calling API.

      Parameters:
      callEvent - The call event payload to send, as a JSON blob in the format defined by the Meta calling API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      SendWhatsAppCallEventRequest.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.