public static interface BatchStatementRequest.Builder extends SdkPojo, CopyableBuilder<BatchStatementRequest.Builder,BatchStatementRequest>
Modifier and Type | Method and Description |
---|---|
BatchStatementRequest.Builder |
consistentRead(Boolean consistentRead)
The read consistency of the PartiQL batch request.
|
BatchStatementRequest.Builder |
parameters(AttributeValue... parameters)
The parameters associated with a PartiQL statement in the batch request.
|
BatchStatementRequest.Builder |
parameters(Collection<AttributeValue> parameters)
The parameters associated with a PartiQL statement in the batch request.
|
BatchStatementRequest.Builder |
parameters(Consumer<AttributeValue.Builder>... parameters)
The parameters associated with a PartiQL statement in the batch request.
|
BatchStatementRequest.Builder |
statement(String statement)
A valid PartiQL statement.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
BatchStatementRequest.Builder statement(String statement)
A valid PartiQL statement.
statement
- A valid PartiQL statement.BatchStatementRequest.Builder parameters(Collection<AttributeValue> parameters)
The parameters associated with a PartiQL statement in the batch request.
parameters
- The parameters associated with a PartiQL statement in the batch request.BatchStatementRequest.Builder parameters(AttributeValue... parameters)
The parameters associated with a PartiQL statement in the batch request.
parameters
- The parameters associated with a PartiQL statement in the batch request.BatchStatementRequest.Builder parameters(Consumer<AttributeValue.Builder>... parameters)
The parameters associated with a PartiQL statement in the batch request.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #parameters(List)
.parameters
- a consumer that will call methods on List.Builder
#parameters(List)
BatchStatementRequest.Builder consistentRead(Boolean consistentRead)
The read consistency of the PartiQL batch request.
consistentRead
- The read consistency of the PartiQL batch request.Copyright © 2020. All rights reserved.