Interface LinkedWhatsAppBusinessAccountIdMetaData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LinkedWhatsAppBusinessAccountIdMetaData.Builder,
,LinkedWhatsAppBusinessAccountIdMetaData> SdkBuilder<LinkedWhatsAppBusinessAccountIdMetaData.Builder,
,LinkedWhatsAppBusinessAccountIdMetaData> SdkPojo
- Enclosing class:
LinkedWhatsAppBusinessAccountIdMetaData
@Mutable
@NotThreadSafe
public static interface LinkedWhatsAppBusinessAccountIdMetaData.Builder
extends SdkPojo, CopyableBuilder<LinkedWhatsAppBusinessAccountIdMetaData.Builder,LinkedWhatsAppBusinessAccountIdMetaData>
-
Method Summary
Modifier and TypeMethodDescriptionaccountName
(String accountName) The name of your 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.unregisteredWhatsAppPhoneNumbers
(Collection<WhatsAppPhoneNumberDetail> unregisteredWhatsAppPhoneNumbers) The details for unregistered WhatsApp phone numbers.unregisteredWhatsAppPhoneNumbers
(Consumer<WhatsAppPhoneNumberDetail.Builder>... unregisteredWhatsAppPhoneNumbers) The details for unregistered WhatsApp phone numbers.unregisteredWhatsAppPhoneNumbers
(WhatsAppPhoneNumberDetail... unregisteredWhatsAppPhoneNumbers) The details for unregistered WhatsApp phone numbers.The Amazon Resource Name (ARN) of the WhatsApp Business Account ID.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
-
accountName
The name of your account.
- Parameters:
accountName
- The name of your account.- 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
LinkedWhatsAppBusinessAccountIdMetaData.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:
-
unregisteredWhatsAppPhoneNumbers
LinkedWhatsAppBusinessAccountIdMetaData.Builder unregisteredWhatsAppPhoneNumbers(Collection<WhatsAppPhoneNumberDetail> unregisteredWhatsAppPhoneNumbers) The details for unregistered WhatsApp phone numbers.
- Parameters:
unregisteredWhatsAppPhoneNumbers
- The details for unregistered WhatsApp phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unregisteredWhatsAppPhoneNumbers
LinkedWhatsAppBusinessAccountIdMetaData.Builder unregisteredWhatsAppPhoneNumbers(WhatsAppPhoneNumberDetail... unregisteredWhatsAppPhoneNumbers) The details for unregistered WhatsApp phone numbers.
- Parameters:
unregisteredWhatsAppPhoneNumbers
- The details for unregistered WhatsApp phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unregisteredWhatsAppPhoneNumbers
LinkedWhatsAppBusinessAccountIdMetaData.Builder unregisteredWhatsAppPhoneNumbers(Consumer<WhatsAppPhoneNumberDetail.Builder>... unregisteredWhatsAppPhoneNumbers) The details for unregistered WhatsApp phone numbers.
This is a convenience method that creates an instance of theWhatsAppPhoneNumberDetail.Builder
avoiding the need to create one manually viaWhatsAppPhoneNumberDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tounregisteredWhatsAppPhoneNumbers(List<WhatsAppPhoneNumberDetail>)
.- Parameters:
unregisteredWhatsAppPhoneNumbers
- a consumer that will call methods onWhatsAppPhoneNumberDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wabaId
The Amazon Resource Name (ARN) of the WhatsApp Business Account ID.
- Parameters:
wabaId
- The Amazon Resource Name (ARN) of the WhatsApp Business Account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-