Interface ChatSyncResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ChatSyncResponse.Builder,,- ChatSyncResponse> - QBusinessResponse.Builder,- SdkBuilder<ChatSyncResponse.Builder,,- ChatSyncResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ChatSyncResponse
- 
Method SummaryModifier and TypeMethodDescriptiondefault ChatSyncResponse.BuilderactionReview(Consumer<ActionReview.Builder> actionReview) A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.actionReview(ActionReview actionReview) A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.default ChatSyncResponse.BuilderauthChallengeRequest(Consumer<AuthChallengeRequest.Builder> authChallengeRequest) An authentication verification event activated by an end user request to use a custom plugin.authChallengeRequest(AuthChallengeRequest authChallengeRequest) An authentication verification event activated by an end user request to use a custom plugin.conversationId(String conversationId) The identifier of the Amazon Q Business conversation.failedAttachments(Collection<AttachmentOutput> failedAttachments) A list of files which failed to upload during chat.failedAttachments(Consumer<AttachmentOutput.Builder>... failedAttachments) A list of files which failed to upload during chat.failedAttachments(AttachmentOutput... failedAttachments) A list of files which failed to upload during chat.sourceAttributions(Collection<SourceAttribution> sourceAttributions) The source documents used to generate the conversation response.sourceAttributions(Consumer<SourceAttribution.Builder>... sourceAttributions) The source documents used to generate the conversation response.sourceAttributions(SourceAttribution... sourceAttributions) The source documents used to generate the conversation response.systemMessage(String systemMessage) An AI-generated message in a conversation.systemMessageId(String systemMessageId) The identifier of an Amazon Q Business AI generated message within the conversation.userMessageId(String userMessageId) The identifier of an Amazon Q Business end user text input message within the conversation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
conversationIdThe identifier of the Amazon Q Business conversation. - Parameters:
- conversationId- The identifier of the Amazon Q Business conversation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
systemMessageAn AI-generated message in a conversation. - Parameters:
- systemMessage- An AI-generated message in a conversation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
systemMessageIdThe identifier of an Amazon Q Business AI generated message within the conversation. - Parameters:
- systemMessageId- The identifier of an Amazon Q Business AI generated message within the conversation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userMessageIdThe identifier of an Amazon Q Business end user text input message within the conversation. - Parameters:
- userMessageId- The identifier of an Amazon Q Business end user text input message within the conversation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionReviewA request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action. - Parameters:
- actionReview- A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionReviewA request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action. This is a convenience method that creates an instance of theActionReview.Builderavoiding the need to create one manually viaActionReview.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionReview(ActionReview).- Parameters:
- actionReview- a consumer that will call methods on- ActionReview.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
authChallengeRequestAn authentication verification event activated by an end user request to use a custom plugin. - Parameters:
- authChallengeRequest- An authentication verification event activated by an end user request to use a custom plugin.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
authChallengeRequestdefault ChatSyncResponse.Builder authChallengeRequest(Consumer<AuthChallengeRequest.Builder> authChallengeRequest) An authentication verification event activated by an end user request to use a custom plugin. This is a convenience method that creates an instance of theAuthChallengeRequest.Builderavoiding the need to create one manually viaAuthChallengeRequest.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthChallengeRequest(AuthChallengeRequest).- Parameters:
- authChallengeRequest- a consumer that will call methods on- AuthChallengeRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sourceAttributionsThe source documents used to generate the conversation response. - Parameters:
- sourceAttributions- The source documents used to generate the conversation response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceAttributionsThe source documents used to generate the conversation response. - Parameters:
- sourceAttributions- The source documents used to generate the conversation response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceAttributionsChatSyncResponse.Builder sourceAttributions(Consumer<SourceAttribution.Builder>... sourceAttributions) The source documents used to generate the conversation response. This is a convenience method that creates an instance of theSourceAttribution.Builderavoiding the need to create one manually viaSourceAttribution.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceAttributions(List<SourceAttribution>).- Parameters:
- sourceAttributions- a consumer that will call methods on- SourceAttribution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
failedAttachmentsA list of files which failed to upload during chat. - Parameters:
- failedAttachments- A list of files which failed to upload during chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedAttachmentsA list of files which failed to upload during chat. - Parameters:
- failedAttachments- A list of files which failed to upload during chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedAttachmentsA list of files which failed to upload during chat. This is a convenience method that creates an instance of theAttachmentOutput.Builderavoiding the need to create one manually viaAttachmentOutput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedAttachments(List<AttachmentOutput>).- Parameters:
- failedAttachments- a consumer that will call methods on- AttachmentOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-