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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
statementThe 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.
 
- 
parametersThe 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.
 
- 
parametersThe 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.
 
- 
parametersThe 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 on- AttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
consistentReadThe 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 to- true, 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.
 
- 
nextTokenSet this value to get remaining results, if NextTokenwas returned in the statement response.- Parameters:
- nextToken- Set this value to get remaining results, if- NextTokenwas returned in the statement response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
returnConsumedCapacitySets 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:
 
- 
returnConsumedCapacityExecuteStatementRequest.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:
 
- 
limitThe 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 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 in- LastEvaluatedKeyto apply in a subsequent operation to continue the operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
returnValuesOnConditionCheckFailureExecuteStatementRequest.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 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
returnValuesOnConditionCheckFailureExecuteStatementRequest.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 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationExecuteStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationExecuteStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-