Interface DescribeQueryResponse.Builder

  • Method Details

    • queryId

      The unique identifier for the query execution.

      Parameters:
      queryId - The unique identifier for the query execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current query status.

      Parameters:
      status - The current query status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current query status.

      Parameters:
      status - The current query status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • submittedAt

      DescribeQueryResponse.Builder submittedAt(Instant submittedAt)

      The date and time when the query was submitted, in Unix epoch time.

      Parameters:
      submittedAt - The date and time when the query was submitted, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedAt

      DescribeQueryResponse.Builder completedAt(Instant completedAt)

      The date and time when the query reached a terminal state, in Unix epoch time. This field is present when the query status is COMPLETED, FAILED, or CANCELED.

      Parameters:
      completedAt - The date and time when the query reached a terminal state, in Unix epoch time. This field is present when the query status is COMPLETED, FAILED, or CANCELED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statistics

      The query execution statistics. This field is present when the query status is COMPLETED.

      Parameters:
      statistics - The query execution statistics. This field is present when the query status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statistics

      The query execution statistics. This field is present when the query status is COMPLETED.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statistics(QueryStatistics).

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

      DescribeQueryResponse.Builder errorMessage(String errorMessage)

      A human-readable error description. This field is present when the query status is FAILED.

      Parameters:
      errorMessage - A human-readable error description. This field is present when the query status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.