public static interface BatchGetDocumentStatusResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<BatchGetDocumentStatusResponse.Builder,BatchGetDocumentStatusResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchGetDocumentStatusResponse.Builder |
documentStatusList(Collection<Status> documentStatusList)
The status of documents.
|
BatchGetDocumentStatusResponse.Builder |
documentStatusList(Consumer<Status.Builder>... documentStatusList)
The status of documents.
|
BatchGetDocumentStatusResponse.Builder |
documentStatusList(Status... documentStatusList)
The status of documents.
|
BatchGetDocumentStatusResponse.Builder |
errors(BatchGetDocumentStatusResponseError... errors)
A list of documents that Amazon Kendra couldn't get the status for.
|
BatchGetDocumentStatusResponse.Builder |
errors(Collection<BatchGetDocumentStatusResponseError> errors)
A list of documents that Amazon Kendra couldn't get the status for.
|
BatchGetDocumentStatusResponse.Builder |
errors(Consumer<BatchGetDocumentStatusResponseError.Builder>... errors)
A list of documents that Amazon Kendra couldn't get the status for.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchGetDocumentStatusResponse.Builder errors(Collection<BatchGetDocumentStatusResponseError> errors)
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
errors - A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the
document and the reason that the status couldn't be found.BatchGetDocumentStatusResponse.Builder errors(BatchGetDocumentStatusResponseError... errors)
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
errors - A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the
document and the reason that the status couldn't be found.BatchGetDocumentStatusResponse.Builder errors(Consumer<BatchGetDocumentStatusResponseError.Builder>... errors)
A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
This is a convenience method that creates an instance of theBatchGetDocumentStatusResponseError.Builder avoiding the
need to create one manually via
BatchGetDocumentStatusResponseError.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
BatchGetDocumentStatusResponseError.Builder#errors(java.util.Collection) BatchGetDocumentStatusResponse.Builder documentStatusList(Collection<Status> documentStatusList)
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
documentStatusList - The status of documents. The status indicates if the document is waiting to be indexed, is in the
process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the
status provides the reason why.BatchGetDocumentStatusResponse.Builder documentStatusList(Status... documentStatusList)
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
documentStatusList - The status of documents. The status indicates if the document is waiting to be indexed, is in the
process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the
status provides the reason why.BatchGetDocumentStatusResponse.Builder documentStatusList(Consumer<Status.Builder>... documentStatusList)
The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
This is a convenience method that creates an instance of theStatus.Builder avoiding the need to create one manually
via Status.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #documentStatusList(List.
documentStatusList - a consumer that will call methods on
Status.Builder#documentStatusList(java.util.Collection) Copyright © 2023. All rights reserved.