Interface ListLinkedWhatsAppBusinessAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLinkedWhatsAppBusinessAccountsResponse.Builder,
,ListLinkedWhatsAppBusinessAccountsResponse> SdkBuilder<ListLinkedWhatsAppBusinessAccountsResponse.Builder,
,ListLinkedWhatsAppBusinessAccountsResponse> SdkPojo
,SdkResponse.Builder
,SocialMessagingResponse.Builder
- Enclosing class:
ListLinkedWhatsAppBusinessAccountsResponse
@Mutable
@NotThreadSafe
public static interface ListLinkedWhatsAppBusinessAccountsResponse.Builder
extends SocialMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListLinkedWhatsAppBusinessAccountsResponse.Builder,ListLinkedWhatsAppBusinessAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlinkedAccounts
(Collection<LinkedWhatsAppBusinessAccountSummary> linkedAccounts) A list of WhatsApp Business Accounts linked to your Amazon Web Services account.linkedAccounts
(Consumer<LinkedWhatsAppBusinessAccountSummary.Builder>... linkedAccounts) A list of WhatsApp Business Accounts linked to your Amazon Web Services account.linkedAccounts
(LinkedWhatsAppBusinessAccountSummary... linkedAccounts) A list of WhatsApp Business Accounts linked to your Amazon Web Services account.The next token for pagination.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
linkedAccounts
ListLinkedWhatsAppBusinessAccountsResponse.Builder linkedAccounts(Collection<LinkedWhatsAppBusinessAccountSummary> linkedAccounts) A list of WhatsApp Business Accounts linked to your Amazon Web Services account.
- Parameters:
linkedAccounts
- A list of WhatsApp Business Accounts linked to your Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedAccounts
ListLinkedWhatsAppBusinessAccountsResponse.Builder linkedAccounts(LinkedWhatsAppBusinessAccountSummary... linkedAccounts) A list of WhatsApp Business Accounts linked to your Amazon Web Services account.
- Parameters:
linkedAccounts
- A list of WhatsApp Business Accounts linked to your Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedAccounts
ListLinkedWhatsAppBusinessAccountsResponse.Builder linkedAccounts(Consumer<LinkedWhatsAppBusinessAccountSummary.Builder>... linkedAccounts) A list of WhatsApp Business Accounts linked to your Amazon Web Services account.
This is a convenience method that creates an instance of theLinkedWhatsAppBusinessAccountSummary.Builder
avoiding the need to create one manually viaLinkedWhatsAppBusinessAccountSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolinkedAccounts(List<LinkedWhatsAppBusinessAccountSummary>)
.- Parameters:
linkedAccounts
- a consumer that will call methods onLinkedWhatsAppBusinessAccountSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next token for pagination.
- Parameters:
nextToken
- The next token for pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-