public static interface BatchPutDocumentRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<BatchPutDocumentRequest.Builder,BatchPutDocumentRequest>
| Modifier and Type | Method and Description |
|---|---|
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 a role that is allowed to run the
BatchPutDocument operation. |
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 operation.
indexId - The identifier of the index to add the documents to. You need to create the index first using the
CreateIndex operation.BatchPutDocumentRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role that is allowed to run the BatchPutDocument operation.
For more information, see IAM Roles for
Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of a role that is allowed to run the BatchPutDocument
operation. For more information, see IAM 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.
5 MB total size for inline documents
50 MB total size for files from an S3 bucket
5 MB extracted text for any file
For more information about file size and transaction per second quotas, see Quotas.
documents - One or more documents to add to the index.
Documents have the following file size limits.
5 MB total size for inline documents
50 MB total size for files from an S3 bucket
5 MB extracted text for any file
For more information about file size and transaction per second quotas, see Quotas.
BatchPutDocumentRequest.Builder documents(Document... documents)
One or more documents to add to the index.
Documents have the following file size limits.
5 MB total size for inline documents
50 MB total size for files from an S3 bucket
5 MB extracted text for any file
For more information about file size and transaction per second quotas, see Quotas.
documents - One or more documents to add to the index.
Documents have the following file size limits.
5 MB total size for inline documents
50 MB total size for files from an S3 bucket
5 MB extracted text for any file
For more information about file size and transaction per second quotas, 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.
5 MB total size for inline documents
50 MB total size for files from an S3 bucket
5 MB extracted text for any file
For more information about file size and transaction per second quotas, see Quotas.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #documents(List) .documents - a consumer that will call methods on List.Builder #documents(List) BatchPutDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderBatchPutDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.