public static interface BatchPutDocumentResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<BatchPutDocumentResponse.Builder,BatchPutDocumentResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchPutDocumentResponse.Builder |
failedDocuments(BatchPutDocumentResponseFailedDocument... failedDocuments)
A list of documents that were not added to the index because the document failed a validation check.
|
BatchPutDocumentResponse.Builder |
failedDocuments(Collection<BatchPutDocumentResponseFailedDocument> failedDocuments)
A list of documents that were not added to the index because the document failed a validation check.
|
BatchPutDocumentResponse.Builder |
failedDocuments(Consumer<BatchPutDocumentResponseFailedDocument.Builder>... failedDocuments)
A list of documents that were not added to the index because the document failed a validation check.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchPutDocumentResponse.Builder failedDocuments(Collection<BatchPutDocumentResponseFailedDocument> failedDocuments)
A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch Logs
failedDocuments - A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch Logs
BatchPutDocumentResponse.Builder failedDocuments(BatchPutDocumentResponseFailedDocument... failedDocuments)
A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch Logs
failedDocuments - A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch Logs
BatchPutDocumentResponse.Builder failedDocuments(Consumer<BatchPutDocumentResponseFailedDocument.Builder>... failedDocuments)
A list of documents that were not added to the 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.
If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see Monitoring Amazon Kendra with Amazon CloudWatch Logs
This is a convenience method that creates an instance of theBatchPutDocumentResponseFailedDocument.Builder avoiding
the need to create one manually via
BatchPutDocumentResponseFailedDocument.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #failedDocuments(List.
failedDocuments - a consumer that will call methods on
BatchPutDocumentResponseFailedDocument.Builder#failedDocuments(java.util.Collection) Copyright © 2023. All rights reserved.