Interface BatchStatementRequest.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BatchStatementRequest.Builder,BatchStatementRequest>, SdkBuilder<BatchStatementRequest.Builder,BatchStatementRequest>, SdkPojo
Enclosing class:
BatchStatementRequest

public static interface BatchStatementRequest.Builder extends SdkPojo, CopyableBuilder<BatchStatementRequest.Builder,BatchStatementRequest>
  • Method Details

    • 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

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

      The parameters associated with a PartiQL statement in the batch request.

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

      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: