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 Details

    • 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

      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 the AttributeValue.Builder avoiding the need to create one manually via AttributeValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to parameters(List<AttributeValue>).

      Parameters:
      parameters - a consumer that will call methods on AttributeValue.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 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 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.

      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 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 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: