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.Builderparameters(Collection<AttributeValue> parameters)The parameter values.ParameterizedStatement.Builderparameters(Consumer<AttributeValue.Builder>... parameters)The parameter values.ParameterizedStatement.Builderparameters(AttributeValue... parameters)The parameter values.ParameterizedStatement.BuilderreturnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure)An optional parameter that returns the item attributes for a PartiQLParameterizedStatementoperation that failed a condition check.ParameterizedStatement.BuilderreturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure)An optional parameter that returns the item attributes for a PartiQLParameterizedStatementoperation that failed a condition check.ParameterizedStatement.Builderstatement(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.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,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
ParameterizedStatementoperation 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 PartiQLParameterizedStatementoperation 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
ParameterizedStatementoperation 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 PartiQLParameterizedStatementoperation 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
-
-