public static interface ParameterizedStatement.Builder extends SdkPojo, CopyableBuilder<ParameterizedStatement.Builder,ParameterizedStatement>
Modifier and Type | Method and Description |
---|---|
ParameterizedStatement.Builder |
parameters(AttributeValue... parameters)
The parameter values.
|
ParameterizedStatement.Builder |
parameters(Collection<AttributeValue> parameters)
The parameter values.
|
ParameterizedStatement.Builder |
parameters(Consumer<AttributeValue.Builder>... parameters)
The parameter values.
|
ParameterizedStatement.Builder |
statement(String statement)
A PartiQL statment that uses parameters.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ParameterizedStatement.Builder statement(String statement)
A PartiQL statment that uses parameters.
statement
- A PartiQL statment that uses parameters.ParameterizedStatement.Builder parameters(Collection<AttributeValue> parameters)
The parameter values.
parameters
- The parameter values.ParameterizedStatement.Builder parameters(AttributeValue... parameters)
The parameter values.
parameters
- The parameter values.ParameterizedStatement.Builder parameters(Consumer<AttributeValue.Builder>... parameters)
The parameter values.
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)
Copyright © 2021. All rights reserved.