@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
QueryRequest() |
Modifier and Type | Method and Description |
---|---|
QueryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
|
Integer |
getMaxRows()
The total number of rows to return in the output.
|
String |
getNextToken()
A pagination token passed to get a set of results.
|
String |
getQueryString()
The query to be executed by Timestream.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
|
void |
setMaxRows(Integer maxRows)
The total number of rows to return in the output.
|
void |
setNextToken(String nextToken)
A pagination token passed to get a set of results.
|
void |
setQueryString(String queryString)
The query to be executed by Timestream.
|
String |
toString()
Returns a string representation of this object.
|
QueryRequest |
withClientToken(String clientToken)
Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
|
QueryRequest |
withMaxRows(Integer maxRows)
The total number of rows to return in the output.
|
QueryRequest |
withNextToken(String nextToken)
A pagination token passed to get a set of results.
|
QueryRequest |
withQueryString(String queryString)
The query to be executed by Timestream.
|
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 setQueryString(String queryString)
The query to be executed by Timestream.
queryString
- The query to be executed by Timestream.public String getQueryString()
The query to be executed by Timestream.
public QueryRequest withQueryString(String queryString)
The query to be executed by Timestream.
queryString
- The query to be executed by Timestream.public void setClientToken(String clientToken)
Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
Providing a ClientToken
makes the call to Query
idempotent, meaning that multiple
identical calls have the same effect as one single call.
Your query request will fail in the following cases:
If you submit a request with the same client token outside the 5-minute idepotency window.
If you submit a request with the same client token but a change in other parameters within the 5-minute idempotency window.
After 4 hours, any request with the same client token is treated as a new request.
clientToken
- Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
Providing a ClientToken
makes the call to Query
idempotent, meaning that
multiple identical calls have the same effect as one single call.
Your query request will fail in the following cases:
If you submit a request with the same client token outside the 5-minute idepotency window.
If you submit a request with the same client token but a change in other parameters within the 5-minute idempotency window.
After 4 hours, any request with the same client token is treated as a new request.
public String getClientToken()
Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
Providing a ClientToken
makes the call to Query
idempotent, meaning that multiple
identical calls have the same effect as one single call.
Your query request will fail in the following cases:
If you submit a request with the same client token outside the 5-minute idepotency window.
If you submit a request with the same client token but a change in other parameters within the 5-minute idempotency window.
After 4 hours, any request with the same client token is treated as a new request.
ClientToken
makes the call to Query
idempotent, meaning
that multiple identical calls have the same effect as one single call.
Your query request will fail in the following cases:
If you submit a request with the same client token outside the 5-minute idepotency window.
If you submit a request with the same client token but a change in other parameters within the 5-minute idempotency window.
After 4 hours, any request with the same client token is treated as a new request.
public QueryRequest withClientToken(String clientToken)
Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
Providing a ClientToken
makes the call to Query
idempotent, meaning that multiple
identical calls have the same effect as one single call.
Your query request will fail in the following cases:
If you submit a request with the same client token outside the 5-minute idepotency window.
If you submit a request with the same client token but a change in other parameters within the 5-minute idempotency window.
After 4 hours, any request with the same client token is treated as a new request.
clientToken
- Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
Providing a ClientToken
makes the call to Query
idempotent, meaning that
multiple identical calls have the same effect as one single call.
Your query request will fail in the following cases:
If you submit a request with the same client token outside the 5-minute idepotency window.
If you submit a request with the same client token but a change in other parameters within the 5-minute idempotency window.
After 4 hours, any request with the same client token is treated as a new request.
public void setNextToken(String nextToken)
A pagination token passed to get a set of results.
nextToken
- A pagination token passed to get a set of results.public String getNextToken()
A pagination token passed to get a set of results.
public QueryRequest withNextToken(String nextToken)
A pagination token passed to get a set of results.
nextToken
- A pagination token passed to get a set of results.public void setMaxRows(Integer maxRows)
The total number of rows to return in the output. If the total number of rows available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command.
maxRows
- The total number of rows to return in the output. If the total number of rows available is more than the
value specified, a NextToken is provided in the command's output. To resume pagination, provide the
NextToken value in the starting-token argument of a subsequent command.public Integer getMaxRows()
The total number of rows to return in the output. If the total number of rows available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command.
public QueryRequest withMaxRows(Integer maxRows)
The total number of rows to return in the output. If the total number of rows available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command.
maxRows
- The total number of rows to return in the output. If the total number of rows available is more than the
value specified, a NextToken is provided in the command's output. To resume pagination, provide the
NextToken value in the starting-token argument of a subsequent command.public String toString()
toString
in class Object
Object.toString()
public QueryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()