Interface ListLinkedWhatsAppBusinessAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLinkedWhatsAppBusinessAccountsResponse.Builder,,ListLinkedWhatsAppBusinessAccountsResponse> SdkBuilder<ListLinkedWhatsAppBusinessAccountsResponse.Builder,,ListLinkedWhatsAppBusinessAccountsResponse> SdkPojo,SdkResponse.Builder,SocialMessagingResponse.Builder
- Enclosing class:
ListLinkedWhatsAppBusinessAccountsResponse
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaLinkedWhatsAppBusinessAccountSummary.builder().When the
Consumercompletes,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.
-