Interface ParameterizedStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ParameterizedStatement.Builder,,ParameterizedStatement> SdkBuilder<ParameterizedStatement.Builder,,ParameterizedStatement> SdkPojo
- Enclosing class:
ParameterizedStatement
-
Method Summary
Modifier and TypeMethodDescriptionparameters(Collection<AttributeValue> parameters) The parameter values.parameters(Consumer<AttributeValue.Builder>... parameters) The parameter values.parameters(AttributeValue... parameters) The parameter values.returnValuesOnConditionCheckFailure(String returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for a PartiQLParameterizedStatementoperation that failed a condition check.returnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) An optional parameter that returns the item attributes for a PartiQLParameterizedStatementoperation that failed a condition check.A PartiQL statement that uses parameters.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The parameter values.
- Parameters:
parameters- The parameter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 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:
-
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
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:
-