Interface BatchStatementRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchStatementRequest.Builder,
,BatchStatementRequest> SdkBuilder<BatchStatementRequest.Builder,
,BatchStatementRequest> SdkPojo
- Enclosing class:
BatchStatementRequest
-
Method Summary
Modifier and TypeMethodDescriptionconsistentRead
(Boolean consistentRead) The read consistency of the PartiQL batch request.parameters
(Collection<AttributeValue> parameters) The parameters associated with a PartiQL statement in the batch request.parameters
(Consumer<AttributeValue.Builder>... parameters) The parameters associated with a PartiQL statement in the batch request.parameters
(AttributeValue... parameters) The parameters associated with a PartiQL statement in the batch request.returnValuesOnConditionCheckFailure
(String returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a condition check.returnValuesOnConditionCheckFailure
(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a condition check.A valid PartiQL statement.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
statement
A valid PartiQL statement.
- Parameters:
statement
- A valid PartiQL statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters associated with a PartiQL statement in the batch request.
- Parameters:
parameters
- The parameters associated with a PartiQL statement in the batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters associated with a PartiQL statement in the batch request.
- Parameters:
parameters
- The parameters associated with a PartiQL statement in the batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters associated with a PartiQL statement in the batch request.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,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 read consistency of the PartiQL batch request.
- Parameters:
consistentRead
- The read consistency of the PartiQL batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnValuesOnConditionCheckFailure
BatchStatementRequest.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for a PartiQL batch request 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.
- Parameters:
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for a PartiQL batch request 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnValuesOnConditionCheckFailure
BatchStatementRequest.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for a PartiQL batch request 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.
- Parameters:
returnValuesOnConditionCheckFailure
- An optional parameter that returns the item attributes for a PartiQL batch request 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-