@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
BatchPutDocumentRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchPutDocumentRequest |
clone() |
boolean |
equals(Object obj) |
CustomDocumentEnrichmentConfiguration |
getCustomDocumentEnrichmentConfiguration()
Configuration information for altering your document metadata and content during the document ingestion process
when you use the
BatchPutDocument operation. |
List<Document> |
getDocuments()
One or more documents to add to the index.
|
String |
getIndexId()
The identifier of the index to add the documents to.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of a role that is allowed to run the
BatchPutDocument operation. |
int |
hashCode() |
void |
setCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion process
when you use the
BatchPutDocument operation. |
void |
setDocuments(Collection<Document> documents)
One or more documents to add to the index.
|
void |
setIndexId(String indexId)
The identifier of the index to add the documents to.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role that is allowed to run the
BatchPutDocument operation. |
String |
toString()
Returns a string representation of this object.
|
BatchPutDocumentRequest |
withCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion process
when you use the
BatchPutDocument operation. |
BatchPutDocumentRequest |
withDocuments(Collection<Document> documents)
One or more documents to add to the index.
|
BatchPutDocumentRequest |
withDocuments(Document... documents)
One or more documents to add to the index.
|
BatchPutDocumentRequest |
withIndexId(String indexId)
The identifier of the index to add the documents to.
|
BatchPutDocumentRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of a role that is allowed to run the
BatchPutDocument operation. |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setIndexId(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.public String getIndexId()
The identifier of the index to add the documents to. You need to create the index first using the
CreateIndex operation.
CreateIndex operation.public BatchPutDocumentRequest withIndexId(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.public void setRoleArn(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.public String getRoleArn()
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.
BatchPutDocument
operation. For more information, see IAM Roles for Amazon Kendra.public BatchPutDocumentRequest withRoleArn(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.public List<Document> getDocuments()
One or more documents to add to the index.
Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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 can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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.
public void setDocuments(Collection<Document> documents)
One or more documents to add to the index.
Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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 can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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.
public BatchPutDocumentRequest withDocuments(Document... documents)
One or more documents to add to the index.
Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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.
NOTE: This method appends the values to the existing list (if any). Use
setDocuments(java.util.Collection) or withDocuments(java.util.Collection) if you want to
override the existing values.
documents - One or more documents to add to the index.
Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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.
public BatchPutDocumentRequest withDocuments(Collection<Document> documents)
One or more documents to add to the index.
Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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 can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.
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.
public void setCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion process
when you use the BatchPutDocument operation.
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 operation.
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.
public CustomDocumentEnrichmentConfiguration getCustomDocumentEnrichmentConfiguration()
Configuration information for altering your document metadata and content during the document ingestion process
when you use the BatchPutDocument operation.
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.
BatchPutDocument operation.
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.
public BatchPutDocumentRequest withCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering your document metadata and content during the document ingestion process
when you use the BatchPutDocument operation.
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 operation.
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.
public String toString()
toString in class ObjectObject.toString()public BatchPutDocumentRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.