Interface LinkedWhatsAppBusinessAccountSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LinkedWhatsAppBusinessAccountSummary.Builder,
,LinkedWhatsAppBusinessAccountSummary> SdkBuilder<LinkedWhatsAppBusinessAccountSummary.Builder,
,LinkedWhatsAppBusinessAccountSummary> SdkPojo
- Enclosing class:
LinkedWhatsAppBusinessAccountSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the linked WhatsApp Business Account.eventDestinations
(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
.The date the WhatsApp Business Account was linked.registrationStatus
(String registrationStatus) The registration status of the linked WhatsApp Business Account.registrationStatus
(RegistrationStatus registrationStatus) The registration status of the linked WhatsApp Business Account.The WhatsApp Business Account ID provided by Meta.The name of the linked WhatsApp Business Account.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
-
arn
The ARN of the linked WhatsApp Business Account.
- Parameters:
arn
- The ARN of the linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
wabaId
The WhatsApp Business Account ID provided by Meta.
- Parameters:
wabaId
- The WhatsApp Business Account ID provided by Meta.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationStatus
The registration status of the linked WhatsApp Business Account.
- Parameters:
registrationStatus
- The registration status of the linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
registrationStatus
LinkedWhatsAppBusinessAccountSummary.Builder registrationStatus(RegistrationStatus registrationStatus) The registration status of the linked WhatsApp Business Account.
- Parameters:
registrationStatus
- The registration status of the linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
linkDate
The date the WhatsApp Business Account was linked.
- Parameters:
linkDate
- The date the WhatsApp Business Account was linked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wabaName
The name of the linked WhatsApp Business Account.
- Parameters:
wabaName
- The name of the linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
LinkedWhatsAppBusinessAccountSummary.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
LinkedWhatsAppBusinessAccountSummary.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
LinkedWhatsAppBusinessAccountSummary.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:
-