@Generated(value="software.amazon.awssdk:codegen") public final class QueryRequest extends TimestreamQueryRequest implements ToCopyableBuilder<QueryRequest.Builder,QueryRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
QueryRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static QueryRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive string of up to 64 ASCII characters that you specify when you make a Query request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxRows()
The total number of rows to return in the output.
|
String |
nextToken()
A pagination token passed to get a set of results.
|
String |
queryString()
The query to be executed by Timestream.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends QueryRequest.Builder> |
serializableBuilderClass() |
QueryRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String queryString()
The query to be executed by Timestream.
public final 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 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 final String nextToken()
A pagination token passed to get a set of results.
public final 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.
public QueryRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<QueryRequest.Builder,QueryRequest>toBuilder in class TimestreamQueryRequestpublic static QueryRequest.Builder builder()
public static Class<? extends QueryRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.