Interface BatchPutDocumentResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<BatchPutDocumentResponse.Builder,,- BatchPutDocumentResponse> - QBusinessResponse.Builder,- SdkBuilder<BatchPutDocumentResponse.Builder,,- BatchPutDocumentResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- BatchPutDocumentResponse
- 
Method SummaryModifier and TypeMethodDescriptionfailedDocuments(Collection<FailedDocument> failedDocuments) A list of documents that were not added to the Amazon Q Business index because the document failed a validation check.failedDocuments(Consumer<FailedDocument.Builder>... failedDocuments) A list of documents that were not added to the Amazon Q Business index because the document failed a validation check.failedDocuments(FailedDocument... failedDocuments) A list of documents that were not added to the Amazon Q Business index because the document failed a validation check.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- 
failedDocumentsA list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index. - Parameters:
- failedDocuments- A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedDocumentsA list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index. - Parameters:
- failedDocuments- A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedDocumentsBatchPutDocumentResponse.Builder failedDocuments(Consumer<FailedDocument.Builder>... failedDocuments) A list of documents that were not added to the Amazon Q Business index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index. This is a convenience method that creates an instance of theFailedDocument.Builderavoiding the need to create one manually viaFailedDocument.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedDocuments(List<FailedDocument>).- Parameters:
- failedDocuments- a consumer that will call methods on- FailedDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-