Interface BatchStatementRequest.Builder

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