public static interface BatchPutDocumentRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<BatchPutDocumentRequest.Builder,BatchPutDocumentRequest>
| Modifier and Type | Method and Description |
|---|---|
default BatchPutDocumentRequest.Builder |
customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion
process when you use the
BatchPutDocument API. |
BatchPutDocumentRequest.Builder |
customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion
process when you use the
BatchPutDocument API. |
BatchPutDocumentRequest.Builder |
documents(Collection<Document> documents)
One or more documents to add to the index.
|
BatchPutDocumentRequest.Builder |
documents(Consumer<Document.Builder>... documents)
One or more documents to add to the index.
|
BatchPutDocumentRequest.Builder |
documents(Document... documents)
One or more documents to add to the index.
|
BatchPutDocumentRequest.Builder |
indexId(String indexId)
The identifier of the index to add the documents to.
|
BatchPutDocumentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
BatchPutDocumentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
BatchPutDocumentRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchPutDocumentRequest.Builder indexId(String indexId)
The identifier of the index to add the documents to. You need to create the index first using the
CreateIndex API.
indexId - The identifier of the index to add the documents to. You need to create the index first using the
CreateIndex API.BatchPutDocumentRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket. For more information, see IAM access roles for Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket. For more
information, see IAM access
roles for Amazon Kendra.BatchPutDocumentRequest.Builder documents(Collection<Document> documents)
One or more documents to add to the index.
Documents have the following file size limits.
50 MB total size for any file
5 MB extracted text for any file
For more information, see Quotas.
documents - One or more documents to add to the index.
Documents have the following file size limits.
50 MB total size for any file
5 MB extracted text for any file
For more information, see Quotas.
BatchPutDocumentRequest.Builder documents(Document... documents)
One or more documents to add to the index.
Documents have the following file size limits.
50 MB total size for any file
5 MB extracted text for any file
For more information, see Quotas.
documents - One or more documents to add to the index.
Documents have the following file size limits.
50 MB total size for any file
5 MB extracted text for any file
For more information, see Quotas.
BatchPutDocumentRequest.Builder documents(Consumer<Document.Builder>... documents)
One or more documents to add to the index.
Documents have the following file size limits.
50 MB total size for any file
5 MB extracted text for any file
For more information, see Quotas.
This is a convenience method that creates an instance of theDocument.Builder avoiding the need to create one
manually via Document.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #documents(List.
documents - a consumer that will call methods on
Document.Builder#documents(java.util.Collection) BatchPutDocumentRequest.Builder customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion
process when you use the BatchPutDocument API.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
customDocumentEnrichmentConfiguration - Configuration information for altering your document metadata and content during the document
ingestion process when you use the BatchPutDocument API.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
default BatchPutDocumentRequest.Builder customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion
process when you use the BatchPutDocument API.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
This is a convenience method that creates an instance of theCustomDocumentEnrichmentConfiguration.Builder avoiding the need to create one manually via
CustomDocumentEnrichmentConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration).
customDocumentEnrichmentConfiguration - a consumer that will call methods on CustomDocumentEnrichmentConfiguration.BuildercustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration)BatchPutDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderBatchPutDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.