@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDocumentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListDocumentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListDocumentsRequest |
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 application id the documents are attached to.
|
List<String> |
getDataSourceIds()
The identifier of the data sources the documents are attached to.
|
String |
getIndexId()
The identifier of the index the documents are attached to.
|
Integer |
getMaxResults()
The maximum number of documents to return.
|
String |
getNextToken()
If the
maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a
pagination token in the response. |
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier of the application id the documents are attached to.
|
void |
setDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources the documents are attached to.
|
void |
setIndexId(String indexId)
The identifier of the index the documents are attached to.
|
void |
setMaxResults(Integer maxResults)
The maximum number of documents to return.
|
void |
setNextToken(String nextToken)
If the
maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a
pagination token in the response. |
String |
toString()
Returns a string representation of this object.
|
ListDocumentsRequest |
withApplicationId(String applicationId)
The identifier of the application id the documents are attached to.
|
ListDocumentsRequest |
withDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources the documents are attached to.
|
ListDocumentsRequest |
withDataSourceIds(String... dataSourceIds)
The identifier of the data sources the documents are attached to.
|
ListDocumentsRequest |
withIndexId(String indexId)
The identifier of the index the documents are attached to.
|
ListDocumentsRequest |
withMaxResults(Integer maxResults)
The maximum number of documents to return.
|
ListDocumentsRequest |
withNextToken(String nextToken)
If the
maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a
pagination token in the response. |
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 application id the documents are attached to.
applicationId
- The identifier of the application id the documents are attached to.public String getApplicationId()
The identifier of the application id the documents are attached to.
public ListDocumentsRequest withApplicationId(String applicationId)
The identifier of the application id the documents are attached to.
applicationId
- The identifier of the application id the documents are attached to.public List<String> getDataSourceIds()
The identifier of the data sources the documents are attached to.
public void setDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources the documents are attached to.
dataSourceIds
- The identifier of the data sources the documents are attached to.public ListDocumentsRequest withDataSourceIds(String... dataSourceIds)
The identifier of the data sources the documents are attached to.
NOTE: This method appends the values to the existing list (if any). Use
setDataSourceIds(java.util.Collection)
or withDataSourceIds(java.util.Collection)
if you want
to override the existing values.
dataSourceIds
- The identifier of the data sources the documents are attached to.public ListDocumentsRequest withDataSourceIds(Collection<String> dataSourceIds)
The identifier of the data sources the documents are attached to.
dataSourceIds
- The identifier of the data sources the documents are attached to.public void setIndexId(String indexId)
The identifier of the index the documents are attached to.
indexId
- The identifier of the index the documents are attached to.public String getIndexId()
The identifier of the index the documents are attached to.
public ListDocumentsRequest withIndexId(String indexId)
The identifier of the index the documents are attached to.
indexId
- The identifier of the index the documents are attached to.public void setMaxResults(Integer maxResults)
The maximum number of documents to return.
maxResults
- The maximum number of documents to return.public Integer getMaxResults()
The maximum number of documents to return.
public ListDocumentsRequest withMaxResults(Integer maxResults)
The maximum number of documents to return.
maxResults
- The maximum number of documents to return.public void setNextToken(String nextToken)
If the maxResults
response was incomplete because there is more data to retrieve, Amazon Q returns a
pagination token in the response. You can use this pagination token to retrieve the next set of documents.
nextToken
- If the maxResults
response was incomplete because there is more data to retrieve, Amazon Q
returns a pagination token in the response. You can use this pagination token to retrieve the next set of
documents.public String getNextToken()
If the maxResults
response was incomplete because there is more data to retrieve, Amazon Q returns a
pagination token in the response. You can use this pagination token to retrieve the next set of documents.
maxResults
response was incomplete because there is more data to retrieve, Amazon Q
returns a pagination token in the response. You can use this pagination token to retrieve the next set of
documents.public ListDocumentsRequest withNextToken(String nextToken)
If the maxResults
response was incomplete because there is more data to retrieve, Amazon Q returns a
pagination token in the response. You can use this pagination token to retrieve the next set of documents.
nextToken
- If the maxResults
response was incomplete because there is more data to retrieve, Amazon Q
returns a pagination token in the response. You can use this pagination token to retrieve the next set of
documents.public String toString()
toString
in class Object
Object.toString()
public ListDocumentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()