@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchDeleteDocumentRequest() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteDocumentRequest |
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 application.
|
String |
getDataSourceSyncId()
The identifier of the data source sync during which the documents were deleted.
|
List<DeleteDocument> |
getDocuments()
Documents deleted from the Amazon Q index.
|
String |
getIndexId()
The identifier of the Amazon Q index that contains the documents to delete.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier of the Amazon Q application.
|
void |
setDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were deleted.
|
void |
setDocuments(Collection<DeleteDocument> documents)
Documents deleted from the Amazon Q index.
|
void |
setIndexId(String indexId)
The identifier of the Amazon Q index that contains the documents to delete.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteDocumentRequest |
withApplicationId(String applicationId)
The identifier of the Amazon Q application.
|
BatchDeleteDocumentRequest |
withDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were deleted.
|
BatchDeleteDocumentRequest |
withDocuments(Collection<DeleteDocument> documents)
Documents deleted from the Amazon Q index.
|
BatchDeleteDocumentRequest |
withDocuments(DeleteDocument... documents)
Documents deleted from the Amazon Q index.
|
BatchDeleteDocumentRequest |
withIndexId(String indexId)
The identifier of the Amazon Q index that contains the documents to delete.
|
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 application.
applicationId
- The identifier of the Amazon Q application.public String getApplicationId()
The identifier of the Amazon Q application.
public BatchDeleteDocumentRequest withApplicationId(String applicationId)
The identifier of the Amazon Q application.
applicationId
- The identifier of the Amazon Q application.public void setDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were deleted.
dataSourceSyncId
- The identifier of the data source sync during which the documents were deleted.public String getDataSourceSyncId()
The identifier of the data source sync during which the documents were deleted.
public BatchDeleteDocumentRequest withDataSourceSyncId(String dataSourceSyncId)
The identifier of the data source sync during which the documents were deleted.
dataSourceSyncId
- The identifier of the data source sync during which the documents were deleted.public List<DeleteDocument> getDocuments()
Documents deleted from the Amazon Q index.
public void setDocuments(Collection<DeleteDocument> documents)
Documents deleted from the Amazon Q index.
documents
- Documents deleted from the Amazon Q index.public BatchDeleteDocumentRequest withDocuments(DeleteDocument... documents)
Documents deleted from the Amazon Q 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
- Documents deleted from the Amazon Q index.public BatchDeleteDocumentRequest withDocuments(Collection<DeleteDocument> documents)
Documents deleted from the Amazon Q index.
documents
- Documents deleted from the Amazon Q index.public void setIndexId(String indexId)
The identifier of the Amazon Q index that contains the documents to delete.
indexId
- The identifier of the Amazon Q index that contains the documents to delete.public String getIndexId()
The identifier of the Amazon Q index that contains the documents to delete.
public BatchDeleteDocumentRequest withIndexId(String indexId)
The identifier of the Amazon Q index that contains the documents to delete.
indexId
- The identifier of the Amazon Q index that contains the documents to delete.public String toString()
toString
in class Object
Object.toString()
public BatchDeleteDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()