Interface PutWhatsAppBusinessAccountEventDestinationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutWhatsAppBusinessAccountEventDestinationsRequest.Builder,,PutWhatsAppBusinessAccountEventDestinationsRequest> SdkBuilder<PutWhatsAppBusinessAccountEventDestinationsRequest.Builder,,PutWhatsAppBusinessAccountEventDestinationsRequest> SdkPojo,SdkRequest.Builder,SocialMessagingRequest.Builder
- Enclosing class:
PutWhatsAppBusinessAccountEventDestinationsRequest
public static interface PutWhatsAppBusinessAccountEventDestinationsRequest.Builder
extends SocialMessagingRequest.Builder, SdkPojo, CopyableBuilder<PutWhatsAppBusinessAccountEventDestinationsRequest.Builder,PutWhatsAppBusinessAccountEventDestinationsRequest>
-
Method Summary
Modifier and TypeMethodDescriptioneventDestinations(Collection<WhatsAppBusinessAccountEventDestination> eventDestinations) An array ofWhatsAppBusinessAccountEventDestinationevent destinations.eventDestinations(Consumer<WhatsAppBusinessAccountEventDestination.Builder>... eventDestinations) An array ofWhatsAppBusinessAccountEventDestinationevent destinations.eventDestinations(WhatsAppBusinessAccountEventDestination... eventDestinations) An array ofWhatsAppBusinessAccountEventDestinationevent 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
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, sdkFieldsMethods 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
WhatsAppBusinessAccountEventDestinationevent destinations.- Parameters:
eventDestinations- An array ofWhatsAppBusinessAccountEventDestinationevent 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
WhatsAppBusinessAccountEventDestinationevent destinations.- Parameters:
eventDestinations- An array ofWhatsAppBusinessAccountEventDestinationevent 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 theWhatsAppBusinessAccountEventDestinationevent destinations.WhatsAppBusinessAccountEventDestination.Builderavoiding the need to create one manually viaWhatsAppBusinessAccountEventDestination.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-