Interface GetLinkedWhatsAppBusinessAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLinkedWhatsAppBusinessAccountResponse.Builder,
,GetLinkedWhatsAppBusinessAccountResponse> SdkBuilder<GetLinkedWhatsAppBusinessAccountResponse.Builder,
,GetLinkedWhatsAppBusinessAccountResponse> SdkPojo
,SdkResponse.Builder
,SocialMessagingResponse.Builder
- Enclosing class:
GetLinkedWhatsAppBusinessAccountResponse
@Mutable
@NotThreadSafe
public static interface GetLinkedWhatsAppBusinessAccountResponse.Builder
extends SocialMessagingResponse.Builder, SdkPojo, CopyableBuilder<GetLinkedWhatsAppBusinessAccountResponse.Builder,GetLinkedWhatsAppBusinessAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe details of the linked WhatsApp Business Account.account
(LinkedWhatsAppBusinessAccount account) The details of the linked WhatsApp Business Account.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
-
account
The details of the linked WhatsApp Business Account.
- Parameters:
account
- The details of the linked WhatsApp Business Account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
default GetLinkedWhatsAppBusinessAccountResponse.Builder account(Consumer<LinkedWhatsAppBusinessAccount.Builder> account) The details of the linked WhatsApp Business Account.
This is a convenience method that creates an instance of theLinkedWhatsAppBusinessAccount.Builder
avoiding the need to create one manually viaLinkedWhatsAppBusinessAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccount(LinkedWhatsAppBusinessAccount)
.- Parameters:
account
- a consumer that will call methods onLinkedWhatsAppBusinessAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-