@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteStatementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ExecuteStatementRequest() |
Modifier and Type | Method and Description |
---|---|
ExecuteStatementRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getConsistentRead()
The consistency of a read operation.
|
String |
getNextToken()
Set this value to get remaining results, if
NextToken was returned in the statement response. |
List<AttributeValue> |
getParameters()
The parameters for the PartiQL statement, if any.
|
String |
getStatement()
The PartiQL statement representing the operation to run.
|
int |
hashCode() |
Boolean |
isConsistentRead()
The consistency of a read operation.
|
void |
setConsistentRead(Boolean consistentRead)
The consistency of a read operation.
|
void |
setNextToken(String nextToken)
Set this value to get remaining results, if
NextToken was returned in the statement response. |
void |
setParameters(Collection<AttributeValue> parameters)
The parameters for the PartiQL statement, if any.
|
void |
setStatement(String statement)
The PartiQL statement representing the operation to run.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteStatementRequest |
withConsistentRead(Boolean consistentRead)
The consistency of a read operation.
|
ExecuteStatementRequest |
withNextToken(String nextToken)
Set this value to get remaining results, if
NextToken was returned in the statement response. |
ExecuteStatementRequest |
withParameters(AttributeValue... parameters)
The parameters for the PartiQL statement, if any.
|
ExecuteStatementRequest |
withParameters(Collection<AttributeValue> parameters)
The parameters for the PartiQL statement, if any.
|
ExecuteStatementRequest |
withStatement(String statement)
The PartiQL statement representing the operation to run.
|
addHandlerContext, copyBaseTo, 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 setStatement(String statement)
The PartiQL statement representing the operation to run.
statement
- The PartiQL statement representing the operation to run.public String getStatement()
The PartiQL statement representing the operation to run.
public ExecuteStatementRequest withStatement(String statement)
The PartiQL statement representing the operation to run.
statement
- The PartiQL statement representing the operation to run.public List<AttributeValue> getParameters()
The parameters for the PartiQL statement, if any.
public void setParameters(Collection<AttributeValue> parameters)
The parameters for the PartiQL statement, if any.
parameters
- The parameters for the PartiQL statement, if any.public ExecuteStatementRequest withParameters(AttributeValue... parameters)
The parameters for the PartiQL statement, if any.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection)
or withParameters(java.util.Collection)
if you want to
override the existing values.
parameters
- The parameters for the PartiQL statement, if any.public ExecuteStatementRequest withParameters(Collection<AttributeValue> parameters)
The parameters for the PartiQL statement, if any.
parameters
- The parameters for the PartiQL statement, if any.public void setConsistentRead(Boolean consistentRead)
The consistency of a read operation. If set to true
, then a strongly consistent read is used;
otherwise, an eventually consistent read is used.
consistentRead
- The consistency of a read operation. If set to true
, then a strongly consistent read is used;
otherwise, an eventually consistent read is used.public Boolean getConsistentRead()
The consistency of a read operation. If set to true
, then a strongly consistent read is used;
otherwise, an eventually consistent read is used.
true
, then a strongly consistent read is
used; otherwise, an eventually consistent read is used.public ExecuteStatementRequest withConsistentRead(Boolean consistentRead)
The consistency of a read operation. If set to true
, then a strongly consistent read is used;
otherwise, an eventually consistent read is used.
consistentRead
- The consistency of a read operation. If set to true
, then a strongly consistent read is used;
otherwise, an eventually consistent read is used.public Boolean isConsistentRead()
The consistency of a read operation. If set to true
, then a strongly consistent read is used;
otherwise, an eventually consistent read is used.
true
, then a strongly consistent read is
used; otherwise, an eventually consistent read is used.public void setNextToken(String nextToken)
Set this value to get remaining results, if NextToken
was returned in the statement response.
nextToken
- Set this value to get remaining results, if NextToken
was returned in the statement response.public String getNextToken()
Set this value to get remaining results, if NextToken
was returned in the statement response.
NextToken
was returned in the statement
response.public ExecuteStatementRequest withNextToken(String nextToken)
Set this value to get remaining results, if NextToken
was returned in the statement response.
nextToken
- Set this value to get remaining results, if NextToken
was returned in the statement response.public String toString()
toString
in class Object
Object.toString()
public ExecuteStatementRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.