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 byWhatsAppSignupCallbackand 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
associateInProgressToken
An Amazon Web Services access token generated by
WhatsAppSignupCallbackand used byWhatsAppSetupFinalization.- Parameters:
associateInProgressToken- An Amazon Web Services access token generated byWhatsAppSignupCallbackand 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.Builderavoiding the need to create one manually viaWabaPhoneNumberSetupFinalization.builder().When the
Consumercompletes,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
wabafield is present.- Parameters:
phoneNumberParent- Used to add a new phone number to an existing WhatsApp Business Account. This field can't be used when thewabafield 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
phoneNumberParentfield is present.- Parameters:
waba- Used to create a new WhatsApp Business Account and add a phone number. This field can't be used when thephoneNumberParentfield 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 thephoneNumberParentfield is present.WabaSetupFinalization.Builderavoiding the need to create one manually viaWabaSetupFinalization.builder().When the
Consumercompletes,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:
-