Interface BatchStatementRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchStatementRequest.Builder,BatchStatementRequest>
,SdkBuilder<BatchStatementRequest.Builder,BatchStatementRequest>
,SdkPojo
- Enclosing class:
- BatchStatementRequest
public static interface BatchStatementRequest.Builder extends SdkPojo, CopyableBuilder<BatchStatementRequest.Builder,BatchStatementRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchStatementRequest.Builder
consistentRead(Boolean consistentRead)
The read consistency of the PartiQL batch request.BatchStatementRequest.Builder
parameters(Collection<AttributeValue> parameters)
The parameters associated with a PartiQL statement in the batch request.BatchStatementRequest.Builder
parameters(Consumer<AttributeValue.Builder>... parameters)
The parameters associated with a PartiQL statement in the batch request.BatchStatementRequest.Builder
parameters(AttributeValue... parameters)
The parameters associated with a PartiQL statement in the batch request.BatchStatementRequest.Builder
returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a condition check.BatchStatementRequest.Builder
returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL batch request operation that failed a condition check.BatchStatementRequest.Builder
statement(String statement)
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
statement
BatchStatementRequest.Builder statement(String 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
BatchStatementRequest.Builder parameters(Collection<AttributeValue> 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
BatchStatementRequest.Builder parameters(AttributeValue... 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
BatchStatementRequest.Builder parameters(Consumer<AttributeValue.Builder>... 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 to#parameters(List
.) - 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:
#parameters(java.util.Collection
)
-
consistentRead
BatchStatementRequest.Builder consistentRead(Boolean 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
,ReturnValuesOnConditionCheckFailure
-
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:
ReturnValuesOnConditionCheckFailure
,ReturnValuesOnConditionCheckFailure
-
-