Interface WhatsAppSetupFinalization.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WhatsAppSetupFinalization.Builder,
,WhatsAppSetupFinalization> SdkBuilder<WhatsAppSetupFinalization.Builder,
,WhatsAppSetupFinalization> SdkPojo
- Enclosing class:
WhatsAppSetupFinalization
-
Method Summary
Modifier and TypeMethodDescriptionassociateInProgressToken
(String associateInProgressToken) An Amazon Web Services access token generated byWhatsAppSignupCallback
and used byWhatsAppSetupFinalization
.phoneNumberParent
(String phoneNumberParent) Used to add a new phone number to an existing WhatsApp Business Account.phoneNumbers
(Collection<WabaPhoneNumberSetupFinalization> phoneNumbers) An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.phoneNumbers
(Consumer<WabaPhoneNumberSetupFinalization.Builder>... phoneNumbers) An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.phoneNumbers
(WabaPhoneNumberSetupFinalization... phoneNumbers) An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.Used to create a new WhatsApp Business Account and add a phone number.waba
(WabaSetupFinalization waba) Used to create a new WhatsApp Business Account and add a phone number.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
-
associateInProgressToken
An Amazon Web Services access token generated by
WhatsAppSignupCallback
and used byWhatsAppSetupFinalization
.- Parameters:
associateInProgressToken
- An Amazon Web Services access token generated byWhatsAppSignupCallback
and used byWhatsAppSetupFinalization
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
WhatsAppSetupFinalization.Builder phoneNumbers(Collection<WabaPhoneNumberSetupFinalization> phoneNumbers) An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.
- Parameters:
phoneNumbers
- An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.
- Parameters:
phoneNumbers
- An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
WhatsAppSetupFinalization.Builder phoneNumbers(Consumer<WabaPhoneNumberSetupFinalization.Builder>... phoneNumbers) An array of WabaPhoneNumberSetupFinalization objects containing the details of each phone number associated with the WhatsApp Business Account.
This is a convenience method that creates an instance of theWabaPhoneNumberSetupFinalization.Builder
avoiding the need to create one manually viaWabaPhoneNumberSetupFinalization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophoneNumbers(List<WabaPhoneNumberSetupFinalization>)
.- Parameters:
phoneNumbers
- a consumer that will call methods onWabaPhoneNumberSetupFinalization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phoneNumberParent
Used to add a new phone number to an existing WhatsApp Business Account. This field can't be used when the
waba
field is present.- Parameters:
phoneNumberParent
- Used to add a new phone number to an existing WhatsApp Business Account. This field can't be used when thewaba
field is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waba
Used to create a new WhatsApp Business Account and add a phone number. This field can't be used when the
phoneNumberParent
field is present.- Parameters:
waba
- Used to create a new WhatsApp Business Account and add a phone number. This field can't be used when thephoneNumberParent
field is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waba
Used to create a new WhatsApp Business Account and add a phone number. This field can't be used when the
This is a convenience method that creates an instance of thephoneNumberParent
field is present.WabaSetupFinalization.Builder
avoiding the need to create one manually viaWabaSetupFinalization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towaba(WabaSetupFinalization)
.- Parameters:
waba
- a consumer that will call methods onWabaSetupFinalization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-