Interface ListStatementsResponse.Builder

  • Method Details

    • nextToken

      ListStatementsResponse.Builder nextToken(String nextToken)

      A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.

      Parameters:
      nextToken - A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statements

      The SQL statements.

      Parameters:
      statements - The SQL statements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statements

      ListStatementsResponse.Builder statements(StatementData... statements)

      The SQL statements.

      Parameters:
      statements - The SQL statements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statements

      The SQL statements.

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

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

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