Interface ParameterizedStatement.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ParameterizedStatement.Builder,ParameterizedStatement>
,SdkBuilder<ParameterizedStatement.Builder,ParameterizedStatement>
,SdkPojo
- Enclosing class:
- ParameterizedStatement
public static interface ParameterizedStatement.Builder extends SdkPojo, CopyableBuilder<ParameterizedStatement.Builder,ParameterizedStatement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterizedStatement.Builder
parameters(Collection<AttributeValue> parameters)
The parameter values.ParameterizedStatement.Builder
parameters(Consumer<AttributeValue.Builder>... parameters)
The parameter values.ParameterizedStatement.Builder
parameters(AttributeValue... parameters)
The parameter values.ParameterizedStatement.Builder
returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQLParameterizedStatement
operation that failed a condition check.ParameterizedStatement.Builder
returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQLParameterizedStatement
operation that failed a condition check.ParameterizedStatement.Builder
statement(String statement)
A PartiQL statement that uses parameters.-
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 Detail
-
statement
ParameterizedStatement.Builder statement(String statement)
A PartiQL statement that uses parameters.
- Parameters:
statement
- A PartiQL statement that uses parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
ParameterizedStatement.Builder parameters(Collection<AttributeValue> parameters)
The parameter values.
- Parameters:
parameters
- The parameter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
ParameterizedStatement.Builder parameters(AttributeValue... parameters)
The parameter values.
- Parameters:
parameters
- The parameter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
ParameterizedStatement.Builder parameters(Consumer<AttributeValue.Builder>... parameters)
The parameter values.
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
)
-
returnValuesOnConditionCheckFailure
ParameterizedStatement.Builder returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL
ParameterizedStatement
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 PartiQLParameterizedStatement
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
ParameterizedStatement.Builder returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)
An optional parameter that returns the item attributes for a PartiQL
ParameterizedStatement
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 PartiQLParameterizedStatement
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
-
-