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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetDocumentStatusRequest.BuilderdocumentInfoList(Collection<DocumentInfo> documentInfoList)A list ofDocumentInfoobjects that identify the documents for which to get the status.BatchGetDocumentStatusRequest.BuilderdocumentInfoList(Consumer<DocumentInfo.Builder>... documentInfoList)A list ofDocumentInfoobjects that identify the documents for which to get the status.BatchGetDocumentStatusRequest.BuilderdocumentInfoList(DocumentInfo... documentInfoList)A list ofDocumentInfoobjects that identify the documents for which to get the status.BatchGetDocumentStatusRequest.BuilderindexId(String indexId)The identifier of the index to add documents to.BatchGetDocumentStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchGetDocumentStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
indexId
BatchGetDocumentStatusRequest.Builder indexId(String 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
BatchGetDocumentStatusRequest.Builder documentInfoList(Collection<DocumentInfo> 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(DocumentInfo... 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 to#documentInfoList(List.) - 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:
#documentInfoList(java.util.Collection)
-
overrideConfiguration
BatchGetDocumentStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchGetDocumentStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-