Interface ExecuteStatementRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExecuteStatementRequest.Builder,
,ExecuteStatementRequest> SdkBuilder<ExecuteStatementRequest.Builder,
,ExecuteStatementRequest> SdkPojo
- Enclosing class:
ExecuteStatementRequest
public static interface ExecuteStatementRequest.Builder
extends SdkPojo, CopyableBuilder<ExecuteStatementRequest.Builder,ExecuteStatementRequest>
-
Method Summary
Modifier and TypeMethodDescriptionparameters
(Collection<ValueHolder> parameters) Specifies the parameters for the parameterized statement in the request.parameters
(Consumer<ValueHolder.Builder>... parameters) Specifies the parameters for the parameterized statement in the request.parameters
(ValueHolder... parameters) Specifies the parameters for the parameterized statement in the request.Specifies the statement of the request.transactionId
(String transactionId) Specifies the transaction ID of the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transactionId
Specifies the transaction ID of the request.
- Parameters:
transactionId
- Specifies the transaction ID of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statement
Specifies the statement of the request.
- Parameters:
statement
- Specifies the statement of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Specifies the parameters for the parameterized statement in the request.
- Parameters:
parameters
- Specifies the parameters for the parameterized statement in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Specifies the parameters for the parameterized statement in the request.
- Parameters:
parameters
- Specifies the parameters for the parameterized statement in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Specifies the parameters for the parameterized statement in the request.
This is a convenience method that creates an instance of theValueHolder.Builder
avoiding the need to create one manually viaValueHolder.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<ValueHolder>)
.- Parameters:
parameters
- a consumer that will call methods onValueHolder.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-