@Generated(value="software.amazon.awssdk:codegen") public class StartQueryExecutionRequest extends AthenaRequest implements ToCopyableBuilder<StartQueryExecutionRequest.Builder,StartQueryExecutionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartQueryExecutionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartQueryExecutionRequest.Builder |
builder() |
String |
clientRequestToken()
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
QueryExecutionContext |
queryExecutionContext()
The database within which the query executes.
|
String |
queryString()
The SQL query statements to be executed.
|
ResultConfiguration |
resultConfiguration()
Specifies information about where and how to save the results of the query execution.
|
static Class<? extends StartQueryExecutionRequest.Builder> |
serializableBuilderClass() |
StartQueryExecutionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String queryString()
The SQL query statements to be executed.
public String clientRequestToken()
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
If another StartQueryExecution
request is received, the same response is returned and another query
is not created. If a parameter has changed, for example, the QueryString
, an error is returned.
This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
StartQueryExecution
request is received, the same response is
returned and another query is not created. If a parameter has changed, for example, the
QueryString
, an error is returned. This token is listed as not required because AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS CLI, you must provide this token or the action will fail.
public QueryExecutionContext queryExecutionContext()
The database within which the query executes.
public ResultConfiguration resultConfiguration()
Specifies information about where and how to save the results of the query execution.
public StartQueryExecutionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartQueryExecutionRequest.Builder,StartQueryExecutionRequest>
toBuilder
in class AthenaRequest
public static StartQueryExecutionRequest.Builder builder()
public static Class<? extends StartQueryExecutionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.