Interface LinkedWhatsAppBusinessAccount.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LinkedWhatsAppBusinessAccount.Builder,
,LinkedWhatsAppBusinessAccount> SdkBuilder<LinkedWhatsAppBusinessAccount.Builder,
,LinkedWhatsAppBusinessAccount> SdkPojo
- Enclosing class:
LinkedWhatsAppBusinessAccount
-
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.phoneNumbers
(Collection<WhatsAppPhoneNumberSummary> phoneNumbers) The phone numbers associated with the Linked WhatsApp Business Account.phoneNumbers
(Consumer<WhatsAppPhoneNumberSummary.Builder>... phoneNumbers) The phone numbers associated with the Linked WhatsApp Business Account.phoneNumbers
(WhatsAppPhoneNumberSummary... phoneNumbers) The phone numbers associated with the Linked WhatsApp Business Account.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 from 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 from meta.
- Parameters:
wabaId
- The WhatsApp Business Account ID from 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
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
LinkedWhatsAppBusinessAccount.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
LinkedWhatsAppBusinessAccount.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
LinkedWhatsAppBusinessAccount.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:
-
phoneNumbers
LinkedWhatsAppBusinessAccount.Builder phoneNumbers(Collection<WhatsAppPhoneNumberSummary> phoneNumbers) The phone numbers associated with the Linked WhatsApp Business Account.
- Parameters:
phoneNumbers
- The phone numbers associated with the Linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
The phone numbers associated with the Linked WhatsApp Business Account.
- Parameters:
phoneNumbers
- The phone numbers associated with the Linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
LinkedWhatsAppBusinessAccount.Builder phoneNumbers(Consumer<WhatsAppPhoneNumberSummary.Builder>... phoneNumbers) The phone numbers associated with the Linked WhatsApp Business Account.
This is a convenience method that creates an instance of theWhatsAppPhoneNumberSummary.Builder
avoiding the need to create one manually viaWhatsAppPhoneNumberSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophoneNumbers(List<WhatsAppPhoneNumberSummary>)
.- Parameters:
phoneNumbers
- a consumer that will call methods onWhatsAppPhoneNumberSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-