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 Details

    • 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

      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

      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

      Specifies the parameters for the parameterized statement in the request.

      This is a convenience method that creates an instance of the ValueHolder.Builder avoiding the need to create one manually via ValueHolder.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to parameters(List<ValueHolder>).

      Parameters:
      parameters - a consumer that will call methods on ValueHolder.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: