Interface SendWhatsAppCallEventRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendWhatsAppCallEventRequest.Builder,,SendWhatsAppCallEventRequest> SdkBuilder<SendWhatsAppCallEventRequest.Builder,,SendWhatsAppCallEventRequest> SdkPojo,SdkRequest.Builder,SocialMessagingRequest.Builder
- Enclosing class:
SendWhatsAppCallEventRequest
@Mutable
@NotThreadSafe
public static interface SendWhatsAppCallEventRequest.Builder
extends SocialMessagingRequest.Builder, SdkPojo, CopyableBuilder<SendWhatsAppCallEventRequest.Builder,SendWhatsAppCallEventRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe call event payload to send, as a JSON blob in the format defined by the Meta calling API.metaApiVersion(String metaApiVersion) The version of the Meta Graph API to use for the request.originationPhoneNumberId(String originationPhoneNumberId) The unique identifier of the origination phone number for the call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
originationPhoneNumberId
The unique identifier of the origination phone number for the call. The phone number identifiers are formatted as
phone-number-id-01234567890123456789012345678901. UseGetLinkedWhatsAppBusinessAccountto 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 asphone-number-id-01234567890123456789012345678901. UseGetLinkedWhatsAppBusinessAccountto find a phone number's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendWhatsAppCallEventRequest.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.
-