Interface GetLinkedWhatsAppBusinessAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLinkedWhatsAppBusinessAccountResponse.Builder,,GetLinkedWhatsAppBusinessAccountResponse> SdkBuilder<GetLinkedWhatsAppBusinessAccountResponse.Builder,,GetLinkedWhatsAppBusinessAccountResponse> SdkPojo,SdkResponse.Builder,SocialMessagingResponse.Builder
- Enclosing class:
GetLinkedWhatsAppBusinessAccountResponse
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
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
-
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.Builderavoiding the need to create one manually viaLinkedWhatsAppBusinessAccount.builder().When the
Consumercompletes,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:
-