@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getConsistentRead()
The consistency of a read operation.
|
Integer |
getLimit()
The maximum number of items to evaluate (not necessarily the number of matching items).
|
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 |
getReturnConsumedCapacity() |
String |
getReturnValuesOnConditionCheckFailure()
An optional parameter that returns the item attributes for an
ExecuteStatement operation that failed
a condition check. |
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 |
setLimit(Integer limit)
The maximum number of items to evaluate (not necessarily the number of matching items).
|
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 |
setReturnConsumedCapacity(String returnConsumedCapacity) |
void |
setReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for an
ExecuteStatement operation that failed
a condition check. |
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 |
withLimit(Integer limit)
The maximum number of items to evaluate (not necessarily the number of matching items).
|
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 |
withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) |
ExecuteStatementRequest |
withReturnConsumedCapacity(String returnConsumedCapacity) |
ExecuteStatementRequest |
withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for an
ExecuteStatement operation that failed
a condition check. |
ExecuteStatementRequest |
withReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for an
ExecuteStatement operation that failed
a condition check. |
ExecuteStatementRequest |
withStatement(String statement)
The PartiQL statement representing the operation to run.
|
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 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 void setReturnConsumedCapacity(String returnConsumedCapacity)
returnConsumedCapacity
- ReturnConsumedCapacity
public String getReturnConsumedCapacity()
ReturnConsumedCapacity
public ExecuteStatementRequest withReturnConsumedCapacity(String returnConsumedCapacity)
returnConsumedCapacity
- ReturnConsumedCapacity
public ExecuteStatementRequest withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity)
returnConsumedCapacity
- ReturnConsumedCapacity
public void setLimit(Integer limit)
The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the
number of items up to the limit while processing the results, it stops the operation and returns the matching
values up to that point, along with a key in LastEvaluatedKey
to apply in a subsequent operation so
you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this
limit, it stops the operation and returns the matching values up to the limit, and a key in
LastEvaluatedKey
to apply in a subsequent operation to continue the operation.
limit
- The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB
processes the number of items up to the limit while processing the results, it stops the operation and
returns the matching values up to that point, along with a key in LastEvaluatedKey
to apply
in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size
exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up
to the limit, and a key in LastEvaluatedKey
to apply in a subsequent operation to continue
the operation.public Integer getLimit()
The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the
number of items up to the limit while processing the results, it stops the operation and returns the matching
values up to that point, along with a key in LastEvaluatedKey
to apply in a subsequent operation so
you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this
limit, it stops the operation and returns the matching values up to the limit, and a key in
LastEvaluatedKey
to apply in a subsequent operation to continue the operation.
LastEvaluatedKey
to apply
in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size
exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values
up to the limit, and a key in LastEvaluatedKey
to apply in a subsequent operation to
continue the operation.public ExecuteStatementRequest withLimit(Integer limit)
The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the
number of items up to the limit while processing the results, it stops the operation and returns the matching
values up to that point, along with a key in LastEvaluatedKey
to apply in a subsequent operation so
you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this
limit, it stops the operation and returns the matching values up to the limit, and a key in
LastEvaluatedKey
to apply in a subsequent operation to continue the operation.
limit
- The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB
processes the number of items up to the limit while processing the results, it stops the operation and
returns the matching values up to that point, along with a key in LastEvaluatedKey
to apply
in a subsequent operation so you can pick up where you left off. Also, if the processed dataset size
exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up
to the limit, and a key in LastEvaluatedKey
to apply in a subsequent operation to continue
the operation.public void setReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for an ExecuteStatement
operation that failed
a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for an ExecuteStatement
operation that
failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public String getReturnValuesOnConditionCheckFailure()
An optional parameter that returns the item attributes for an ExecuteStatement
operation that failed
a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ExecuteStatement
operation
that failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public ExecuteStatementRequest withReturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for an ExecuteStatement
operation that failed
a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for an ExecuteStatement
operation that
failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public ExecuteStatementRequest withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for an ExecuteStatement
operation that failed
a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for an ExecuteStatement
operation that
failed a condition check.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
ReturnValuesOnConditionCheckFailure
public String toString()
toString
in class Object
Object.toString()
public ExecuteStatementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()