@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 API. |
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 an IAM role with permission to access your S3 bucket.
|
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 API. |
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 an IAM role with permission to access your S3 bucket.
|
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 API. |
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 an IAM role with permission to access your S3 bucket.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setIndexId(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.public String getIndexId()
The identifier of the index to add the documents to. You need to create the index first using the
CreateIndex
API.
CreateIndex
API.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
API.
indexId
- The identifier of the index to add the documents to. You need to create the index first using the
CreateIndex
API.public void setRoleArn(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.public String getRoleArn()
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.
public BatchPutDocumentRequest withRoleArn(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.public List<Document> getDocuments()
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 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.
public void setDocuments(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.
public BatchPutDocumentRequest withDocuments(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.
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 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.
public BatchPutDocumentRequest withDocuments(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.
public void setCustomDocumentEnrichmentConfiguration(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.
public CustomDocumentEnrichmentConfiguration getCustomDocumentEnrichmentConfiguration()
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.
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.
public BatchPutDocumentRequest withCustomDocumentEnrichmentConfiguration(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.
public String toString()
toString
in class Object
Object.toString()
public BatchPutDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()