@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) |
String |
getApplicationId()
The identifier of the Amazon Q Business application.
|
String |
getDataSourceSyncId()
The identifier of the data source sync during which the documents were added.
|
List<Document> |
getDocuments()
One or more documents to add to the index.
|
String |
getIndexId()
The identifier of the Amazon Q Business 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 |
setApplicationId(String applicationId)
The identifier of the Amazon Q Business application.
|
void |
setDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were added.
|
void |
setDocuments(Collection<Document> documents)
One or more documents to add to the index.
|
void |
setIndexId(String indexId)
The identifier of the Amazon Q Business 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 |
withApplicationId(String applicationId)
The identifier of the Amazon Q Business application.
|
BatchPutDocumentRequest |
withDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were added.
|
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 Amazon Q Business 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 setApplicationId(String applicationId)
The identifier of the Amazon Q Business application.
applicationId
- The identifier of the Amazon Q Business application.public String getApplicationId()
The identifier of the Amazon Q Business application.
public BatchPutDocumentRequest withApplicationId(String applicationId)
The identifier of the Amazon Q Business application.
applicationId
- The identifier of the Amazon Q Business application.public void setIndexId(String indexId)
The identifier of the Amazon Q Business index to add the documents to.
indexId
- The identifier of the Amazon Q Business index to add the documents to.public String getIndexId()
The identifier of the Amazon Q Business index to add the documents to.
public BatchPutDocumentRequest withIndexId(String indexId)
The identifier of the Amazon Q Business index to add the documents to.
indexId
- The identifier of the Amazon Q Business index to add the documents to.public List<Document> getDocuments()
One or more documents to add to the index.
public void setDocuments(Collection<Document> documents)
One or more documents to add to the index.
documents
- One or more documents to add to the index.public BatchPutDocumentRequest withDocuments(Document... documents)
One or more documents to add to the index.
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.public BatchPutDocumentRequest withDocuments(Collection<Document> documents)
One or more documents to add to the index.
documents
- One or more documents to add to the index.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
roleArn
- The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
public BatchPutDocumentRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
roleArn
- The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.public void setDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were added.
dataSourceSyncId
- The identifier of the data source sync during which the documents were added.public String getDataSourceSyncId()
The identifier of the data source sync during which the documents were added.
public BatchPutDocumentRequest withDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were added.
dataSourceSyncId
- The identifier of the data source sync during which the documents were added.public String toString()
toString
in class Object
Object.toString()
public BatchPutDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.