Interface ExecuteStatementRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ExecuteStatementRequest.Builder,,ExecuteStatementRequest> DynamoDbRequest.Builder,SdkBuilder<ExecuteStatementRequest.Builder,,ExecuteStatementRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ExecuteStatementRequest
-
Method Summary
Modifier and TypeMethodDescriptionconsistentRead(Boolean consistentRead) The consistency of a read operation.The maximum number of items to evaluate (not necessarily the number of matching items).Set this value to get remaining results, ifNextTokenwas returned in the statement response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters(Collection<AttributeValue> parameters) The parameters for the PartiQL statement, if any.parameters(Consumer<AttributeValue.Builder>... parameters) The parameters for the PartiQL statement, if any.parameters(AttributeValue... parameters) The parameters for the PartiQL statement, if any.returnConsumedCapacity(String returnConsumedCapacity) Sets the value of the ReturnConsumedCapacity property for this object.returnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) Sets the value of the ReturnConsumedCapacity property for this object.returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for anExecuteStatementoperation that failed a condition check.returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for anExecuteStatementoperation that failed a condition check.The PartiQL statement representing the operation to run.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
statement
The PartiQL statement representing the operation to run.
- Parameters:
statement- The PartiQL statement representing the operation to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters for the PartiQL statement, if any.
- Parameters:
parameters- The parameters for the PartiQL statement, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters for the PartiQL statement, if any.
- Parameters:
parameters- The parameters for the PartiQL statement, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters for the PartiQL statement, if any.
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(List<AttributeValue>).- Parameters:
parameters- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
consistentRead- The consistency of a read operation. If set totrue, then a strongly consistent read is used; otherwise, an eventually consistent read is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Set this value to get remaining results, if
NextTokenwas returned in the statement response.- Parameters:
nextToken- Set this value to get remaining results, ifNextTokenwas returned in the statement response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnConsumedCapacity
Sets the value of the ReturnConsumedCapacity property for this object.- Parameters:
returnConsumedCapacity- The new value for the ReturnConsumedCapacity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnConsumedCapacity
ExecuteStatementRequest.Builder returnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) Sets the value of the ReturnConsumedCapacity property for this object.- Parameters:
returnConsumedCapacity- The new value for the ReturnConsumedCapacity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
LastEvaluatedKeyto 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 inLastEvaluatedKeyto apply in a subsequent operation to continue the operation.- Parameters:
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 inLastEvaluatedKeyto 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 inLastEvaluatedKeyto apply in a subsequent operation to continue the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnValuesOnConditionCheckFailure
ExecuteStatementRequest.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for an
ExecuteStatementoperation 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.
- Parameters:
returnValuesOnConditionCheckFailure- An optional parameter that returns the item attributes for anExecuteStatementoperation 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnValuesOnConditionCheckFailure
ExecuteStatementRequest.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for an
ExecuteStatementoperation 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.
- Parameters:
returnValuesOnConditionCheckFailure- An optional parameter that returns the item attributes for anExecuteStatementoperation 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ExecuteStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExecuteStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-