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 method that creates an instance of theBatchDeleteDocumentResponseFailedDocument.Builder
avoiding the need to create one manually via
BatchDeleteDocumentResponseFailedDocument.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
BatchDeleteDocumentResponseFailedDocument.Builder#failedDocuments(java.util.Collection) Copyright © 2023. All rights reserved.