public static interface BatchDeleteDocumentResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteDocumentResponse.Builder,BatchDeleteDocumentResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchDeleteDocumentResponse.Builder |
failedDocuments(BatchDeleteDocumentResponseFailedDocument... failedDocuments)
A list of documents that could not be removed from the index.
|
BatchDeleteDocumentResponse.Builder |
failedDocuments(Collection<BatchDeleteDocumentResponseFailedDocument> failedDocuments)
A list of documents that could not be removed from the index.
|
BatchDeleteDocumentResponse.Builder |
failedDocuments(Consumer<BatchDeleteDocumentResponseFailedDocument.Builder>... failedDocuments)
A list of documents that could not be removed from the index.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchDeleteDocumentResponse.Builder failedDocuments(Collection<BatchDeleteDocumentResponseFailedDocument> failedDocuments)
A list of documents that could not be removed from the index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
failedDocuments - A list of documents that could not be removed from the index. Each entry contains an error message
that indicates why the document couldn't be removed from the index.BatchDeleteDocumentResponse.Builder failedDocuments(BatchDeleteDocumentResponseFailedDocument... failedDocuments)
A list of documents that could not be removed from the index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
failedDocuments - A list of documents that could not be removed from the index. Each entry contains an error message
that indicates why the document couldn't be removed from the index.BatchDeleteDocumentResponse.Builder failedDocuments(Consumer<BatchDeleteDocumentResponseFailedDocument.Builder>... failedDocuments)
A list of documents that could not be removed from the index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
This is a convenience that creates an instance of the.Builder avoiding the need to create one manually via
List#builder() .
When the Consumer completes, List.Builder#build()
is called immediately and its result is passed to #failedDocuments(List) .failedDocuments - a consumer that will call methods on List.Builder #failedDocuments(List) Copyright © 2021. All rights reserved.