Interface WabaSetupFinalization.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WabaSetupFinalization.Builder,
,WabaSetupFinalization> SdkBuilder<WabaSetupFinalization.Builder,
,WabaSetupFinalization> SdkPojo
- Enclosing class:
WabaSetupFinalization
@Mutable
@NotThreadSafe
public static interface WabaSetupFinalization.Builder
extends SdkPojo, CopyableBuilder<WabaSetupFinalization.Builder,WabaSetupFinalization>
-
Method Summary
Modifier and TypeMethodDescriptioneventDestinations
(Collection<WhatsAppBusinessAccountEventDestination> eventDestinations) The event destinations for the linked WhatsApp Business Account.eventDestinations
(Consumer<WhatsAppBusinessAccountEventDestination.Builder>... eventDestinations) The event destinations for the linked WhatsApp Business Account.eventDestinations
(WhatsAppBusinessAccountEventDestination... eventDestinations) The event destinations for the linked WhatsApp Business Account.The ID of the linked WhatsApp Business Account, formatted aswaba-01234567890123456789012345678901
.tags
(Collection<Tag> tags) An array of key and value pair tags.tags
(Consumer<Tag.Builder>... tags) An array of key and value pair tags.An array of key and value pair tags.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
-
Method Details
-
id
The ID of the linked WhatsApp Business Account, formatted as
waba-01234567890123456789012345678901
.- Parameters:
id
- The ID of the linked WhatsApp Business Account, formatted aswaba-01234567890123456789012345678901
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
WabaSetupFinalization.Builder eventDestinations(Collection<WhatsAppBusinessAccountEventDestination> eventDestinations) The event destinations for the linked WhatsApp Business Account.
- Parameters:
eventDestinations
- The event destinations for the linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
WabaSetupFinalization.Builder eventDestinations(WhatsAppBusinessAccountEventDestination... eventDestinations) The event destinations for the linked WhatsApp Business Account.
- Parameters:
eventDestinations
- The event destinations for the linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
WabaSetupFinalization.Builder eventDestinations(Consumer<WhatsAppBusinessAccountEventDestination.Builder>... eventDestinations) The event destinations for the linked WhatsApp Business Account.
This is a convenience method that creates an instance of theWhatsAppBusinessAccountEventDestination.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:
-
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-