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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecuteStatementRequest.Builderparameters(Collection<ValueHolder> parameters)Specifies the parameters for the parameterized statement in the request.ExecuteStatementRequest.Builderparameters(Consumer<ValueHolder.Builder>... parameters)Specifies the parameters for the parameterized statement in the request.ExecuteStatementRequest.Builderparameters(ValueHolder... parameters)Specifies the parameters for the parameterized statement in the request.ExecuteStatementRequest.Builderstatement(String statement)Specifies the statement of the request.ExecuteStatementRequest.BuildertransactionId(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 Detail
-
transactionId
ExecuteStatementRequest.Builder transactionId(String 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
ExecuteStatementRequest.Builder statement(String 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
ExecuteStatementRequest.Builder parameters(Collection<ValueHolder> 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
ExecuteStatementRequest.Builder parameters(ValueHolder... 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
ExecuteStatementRequest.Builder parameters(Consumer<ValueHolder.Builder>... parameters)
Specifies the parameters for the parameterized statement in the request.
This is a convenience method that creates an instance of theValueHolder.Builderavoiding the need to create one manually viaValueHolder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#parameters(List.) - 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:
#parameters(java.util.Collection)
-
-