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 ofDocumentInfoobjects that identify the documents for which to get the status.documentInfoList(Consumer<DocumentInfo.Builder>... documentInfoList) A list ofDocumentInfoobjects that identify the documents for which to get the status.documentInfoList(DocumentInfo... documentInfoList) A list ofDocumentInfoobjects 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
DocumentInfoobjects 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 ofDocumentInfoobjects 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
DocumentInfoobjects 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 ofDocumentInfoobjects 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 theDocumentInfoobjects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.DocumentInfo.Builderavoiding the need to create one manually viaDocumentInfo.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-