Interface BatchGetDocumentStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchGetDocumentStatusRequest.Builder,
,BatchGetDocumentStatusRequest> KendraRequest.Builder
,SdkBuilder<BatchGetDocumentStatusRequest.Builder,
,BatchGetDocumentStatusRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchGetDocumentStatusRequest
public static interface BatchGetDocumentStatusRequest.Builder
extends KendraRequest.Builder, SdkPojo, CopyableBuilder<BatchGetDocumentStatusRequest.Builder,BatchGetDocumentStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentInfoList
(Collection<DocumentInfo> documentInfoList) A list ofDocumentInfo
objects that identify the documents for which to get the status.documentInfoList
(Consumer<DocumentInfo.Builder>... documentInfoList) A list ofDocumentInfo
objects that identify the documents for which to get the status.documentInfoList
(DocumentInfo... documentInfoList) A list ofDocumentInfo
objects that identify the documents for which to get the status.The identifier of the index to add documents to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
indexId
The identifier of the index to add documents to. The index ID is returned by the CreateIndex API.
- Parameters:
indexId
- The identifier of the index to add documents to. The index ID is returned by the CreateIndex API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentInfoList
A list of
DocumentInfo
objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.- Parameters:
documentInfoList
- A list ofDocumentInfo
objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentInfoList
A list of
DocumentInfo
objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.- Parameters:
documentInfoList
- A list ofDocumentInfo
objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentInfoList
BatchGetDocumentStatusRequest.Builder documentInfoList(Consumer<DocumentInfo.Builder>... documentInfoList) A list of
This is a convenience method that creates an instance of theDocumentInfo
objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.DocumentInfo.Builder
avoiding the need to create one manually viaDocumentInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentInfoList(List<DocumentInfo>)
.- Parameters:
documentInfoList
- a consumer that will call methods onDocumentInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchGetDocumentStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchGetDocumentStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-