Interface GetQueryResultsRequest.Builder

All Superinterfaces:
AthenaRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<GetQueryResultsRequest.Builder,GetQueryResultsRequest>, SdkBuilder<GetQueryResultsRequest.Builder,GetQueryResultsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetQueryResultsRequest

  • Method Details

    • queryExecutionId

      GetQueryResultsRequest.Builder queryExecutionId(String queryExecutionId)

      The unique ID of the query execution.

      Parameters:
      queryExecutionId - The unique ID of the query execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      GetQueryResultsRequest.Builder nextToken(String nextToken)

      A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

      Parameters:
      nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      GetQueryResultsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results (rows) to return in this request.

      Parameters:
      maxResults - The maximum number of results (rows) to return in this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryResultType

      GetQueryResultsRequest.Builder queryResultType(String queryResultType)

      When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.

      Parameters:
      queryResultType - When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryResultType

      GetQueryResultsRequest.Builder queryResultType(QueryResultType queryResultType)

      When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.

      Parameters:
      queryResultType - When you set this to DATA_ROWS or empty, GetQueryResults returns the query results in rows. If set to DATA_MANIFEST, it returns the manifest file in rows. Only the query types CREATE TABLE AS SELECT, UNLOAD, and INSERT can generate a manifest file. If you use DATA_MANIFEST for other query types, the query will fail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      GetQueryResultsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder