Interface PutWhatsAppBusinessAccountEventDestinationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutWhatsAppBusinessAccountEventDestinationsRequest.Builder,
,PutWhatsAppBusinessAccountEventDestinationsRequest> SdkBuilder<PutWhatsAppBusinessAccountEventDestinationsRequest.Builder,
,PutWhatsAppBusinessAccountEventDestinationsRequest> SdkPojo
,SdkRequest.Builder
,SocialMessagingRequest.Builder
- Enclosing class:
PutWhatsAppBusinessAccountEventDestinationsRequest
@Mutable
@NotThreadSafe
public static interface PutWhatsAppBusinessAccountEventDestinationsRequest.Builder
extends SocialMessagingRequest.Builder, SdkPojo, CopyableBuilder<PutWhatsAppBusinessAccountEventDestinationsRequest.Builder,PutWhatsAppBusinessAccountEventDestinationsRequest>
-
Method Summary
Modifier and TypeMethodDescriptioneventDestinations
(Collection<WhatsAppBusinessAccountEventDestination> eventDestinations) An array ofWhatsAppBusinessAccountEventDestination
event destinations.eventDestinations
(Consumer<WhatsAppBusinessAccountEventDestination.Builder>... eventDestinations) An array ofWhatsAppBusinessAccountEventDestination
event destinations.eventDestinations
(WhatsAppBusinessAccountEventDestination... eventDestinations) An array ofWhatsAppBusinessAccountEventDestination
event destinations.The unique identifier of your WhatsApp Business Account.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingRequest.Builder
build
-
Method Details
-
id
The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted as
waba-01234567890123456789012345678901
. Use ListLinkedWhatsAppBusinessAccounts to list all WABAs and their details.- Parameters:
id
- The unique identifier of your WhatsApp Business Account. WABA identifiers are formatted aswaba-01234567890123456789012345678901
. Use ListLinkedWhatsAppBusinessAccounts to list all WABAs and their details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
PutWhatsAppBusinessAccountEventDestinationsRequest.Builder eventDestinations(Collection<WhatsAppBusinessAccountEventDestination> eventDestinations) An array of
WhatsAppBusinessAccountEventDestination
event destinations.- Parameters:
eventDestinations
- An array ofWhatsAppBusinessAccountEventDestination
event destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
PutWhatsAppBusinessAccountEventDestinationsRequest.Builder eventDestinations(WhatsAppBusinessAccountEventDestination... eventDestinations) An array of
WhatsAppBusinessAccountEventDestination
event destinations.- Parameters:
eventDestinations
- An array ofWhatsAppBusinessAccountEventDestination
event destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
PutWhatsAppBusinessAccountEventDestinationsRequest.Builder eventDestinations(Consumer<WhatsAppBusinessAccountEventDestination.Builder>... eventDestinations) An array of
This is a convenience method that creates an instance of theWhatsAppBusinessAccountEventDestination
event destinations.WhatsAppBusinessAccountEventDestination.Builder
avoiding the need to create one manually viaWhatsAppBusinessAccountEventDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventDestinations(List<WhatsAppBusinessAccountEventDestination>)
.- Parameters:
eventDestinations
- a consumer that will call methods onWhatsAppBusinessAccountEventDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutWhatsAppBusinessAccountEventDestinationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutWhatsAppBusinessAccountEventDestinationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-