Interface BatchGetDocumentStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetDocumentStatusResponse.Builder,BatchGetDocumentStatusResponse>,KendraResponse.Builder,SdkBuilder<BatchGetDocumentStatusResponse.Builder,BatchGetDocumentStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetDocumentStatusResponse
public static interface BatchGetDocumentStatusResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<BatchGetDocumentStatusResponse.Builder,BatchGetDocumentStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetDocumentStatusResponse.BuilderdocumentStatusList(Collection<Status> documentStatusList)The status of documents.BatchGetDocumentStatusResponse.BuilderdocumentStatusList(Consumer<Status.Builder>... documentStatusList)The status of documents.BatchGetDocumentStatusResponse.BuilderdocumentStatusList(Status... documentStatusList)The status of documents.BatchGetDocumentStatusResponse.Buildererrors(Collection<BatchGetDocumentStatusResponseError> errors)A list of documents that Amazon Kendra couldn't get the status for.BatchGetDocumentStatusResponse.Buildererrors(Consumer<BatchGetDocumentStatusResponseError.Builder>... errors)A list of documents that Amazon Kendra couldn't get the status for.BatchGetDocumentStatusResponse.Buildererrors(BatchGetDocumentStatusResponseError... errors)A list of documents that Amazon Kendra couldn't get the status for.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
errors
BatchGetDocumentStatusResponse.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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.Builderavoiding the need to create one manually viaBatchGetDocumentStatusResponseError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onBatchGetDocumentStatusResponseError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
documentStatusList
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentStatusList
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentStatusList
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.Builderavoiding the need to create one manually viaStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#documentStatusList(List.) - Parameters:
documentStatusList- a consumer that will call methods onStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#documentStatusList(java.util.Collection)
-
-