@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartQueryExecutionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartQueryExecutionRequest() |
Modifier and Type | Method and Description |
---|---|
StartQueryExecutionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
List<String> |
getExecutionParameters()
A list of values for the parameters in a query.
|
QueryExecutionContext |
getQueryExecutionContext()
The database within which the query executes.
|
String |
getQueryString()
The SQL query statements to be executed.
|
ResultConfiguration |
getResultConfiguration()
Specifies information about where and how to save the results of the query execution.
|
ResultReuseConfiguration |
getResultReuseConfiguration()
Specifies the query result reuse behavior for the query.
|
String |
getWorkGroup()
The name of the workgroup in which the query is being started.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
void |
setExecutionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query.
|
void |
setQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database within which the query executes.
|
void |
setQueryString(String queryString)
The SQL query statements to be executed.
|
void |
setResultConfiguration(ResultConfiguration resultConfiguration)
Specifies information about where and how to save the results of the query execution.
|
void |
setResultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
|
void |
setWorkGroup(String workGroup)
The name of the workgroup in which the query is being started.
|
String |
toString()
Returns a string representation of this object.
|
StartQueryExecutionRequest |
withClientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
StartQueryExecutionRequest |
withExecutionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query.
|
StartQueryExecutionRequest |
withExecutionParameters(String... executionParameters)
A list of values for the parameters in a query.
|
StartQueryExecutionRequest |
withQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database within which the query executes.
|
StartQueryExecutionRequest |
withQueryString(String queryString)
The SQL query statements to be executed.
|
StartQueryExecutionRequest |
withResultConfiguration(ResultConfiguration resultConfiguration)
Specifies information about where and how to save the results of the query execution.
|
StartQueryExecutionRequest |
withResultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
|
StartQueryExecutionRequest |
withWorkGroup(String workGroup)
The name of the workgroup in which the query is being started.
|
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 SQL query statements to be executed.
queryString
- The SQL query statements to be executed.public String getQueryString()
The SQL query statements to be executed.
public StartQueryExecutionRequest withQueryString(String queryString)
The SQL query statements to be executed.
queryString
- The SQL query statements to be executed.public void setClientRequestToken(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. An error is returned if a parameter, such as QueryString
, has changed. A call to
StartQueryExecution
that uses a previous client request token returns the same
QueryExecutionId
even if the requester doesn't have permission on the tables specified in
QueryString
.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
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. An error is returned if a parameter, such as QueryString
, has
changed. A call to StartQueryExecution
that uses a previous client request token returns the
same QueryExecutionId
even if the requester doesn't have permission on the tables specified
in QueryString
. This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
public String getClientRequestToken()
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. An error is returned if a parameter, such as QueryString
, has changed. A call to
StartQueryExecution
that uses a previous client request token returns the same
QueryExecutionId
even if the requester doesn't have permission on the tables specified in
QueryString
.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services 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. An error is returned if a parameter, such as
QueryString
, has changed. A call to StartQueryExecution
that uses a previous
client request token returns the same QueryExecutionId
even if the requester doesn't have
permission on the tables specified in QueryString
. This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
public StartQueryExecutionRequest withClientRequestToken(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. An error is returned if a parameter, such as QueryString
, has changed. A call to
StartQueryExecution
that uses a previous client request token returns the same
QueryExecutionId
even if the requester doesn't have permission on the tables specified in
QueryString
.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
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. An error is returned if a parameter, such as QueryString
, has
changed. A call to StartQueryExecution
that uses a previous client request token returns the
same QueryExecutionId
even if the requester doesn't have permission on the tables specified
in QueryString
. This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
public void setQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database within which the query executes.
queryExecutionContext
- The database within which the query executes.public QueryExecutionContext getQueryExecutionContext()
The database within which the query executes.
public StartQueryExecutionRequest withQueryExecutionContext(QueryExecutionContext queryExecutionContext)
The database within which the query executes.
queryExecutionContext
- The database within which the query executes.public void setResultConfiguration(ResultConfiguration resultConfiguration)
Specifies information about where and how to save the results of the query execution. If the query runs in a workgroup, then workgroup's settings may override query settings. This affects the query results location. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
resultConfiguration
- Specifies information about where and how to save the results of the query execution. If the query runs in
a workgroup, then workgroup's settings may override query settings. This affects the query results
location. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in
the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.public ResultConfiguration getResultConfiguration()
Specifies information about where and how to save the results of the query execution. If the query runs in a workgroup, then workgroup's settings may override query settings. This affects the query results location. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
public StartQueryExecutionRequest withResultConfiguration(ResultConfiguration resultConfiguration)
Specifies information about where and how to save the results of the query execution. If the query runs in a workgroup, then workgroup's settings may override query settings. This affects the query results location. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
resultConfiguration
- Specifies information about where and how to save the results of the query execution. If the query runs in
a workgroup, then workgroup's settings may override query settings. This affects the query results
location. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in
the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.public void setWorkGroup(String workGroup)
The name of the workgroup in which the query is being started.
workGroup
- The name of the workgroup in which the query is being started.public String getWorkGroup()
The name of the workgroup in which the query is being started.
public StartQueryExecutionRequest withWorkGroup(String workGroup)
The name of the workgroup in which the query is being started.
workGroup
- The name of the workgroup in which the query is being started.public List<String> getExecutionParameters()
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
public void setExecutionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
executionParameters
- A list of values for the parameters in a query. The values are applied sequentially to the parameters in
the query in the order in which the parameters occur.public StartQueryExecutionRequest withExecutionParameters(String... executionParameters)
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
NOTE: This method appends the values to the existing list (if any). Use
setExecutionParameters(java.util.Collection)
or withExecutionParameters(java.util.Collection)
if you want to override the existing values.
executionParameters
- A list of values for the parameters in a query. The values are applied sequentially to the parameters in
the query in the order in which the parameters occur.public StartQueryExecutionRequest withExecutionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
executionParameters
- A list of values for the parameters in a query. The values are applied sequentially to the parameters in
the query in the order in which the parameters occur.public void setResultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
resultReuseConfiguration
- Specifies the query result reuse behavior for the query.public ResultReuseConfiguration getResultReuseConfiguration()
Specifies the query result reuse behavior for the query.
public StartQueryExecutionRequest withResultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
resultReuseConfiguration
- Specifies the query result reuse behavior for the query.public String toString()
toString
in class Object
Object.toString()
public StartQueryExecutionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()