Interface ListQueriesResponse.Builder

    • Method Detail

      • queries

        ListQueriesResponse.Builder queries​(Collection<Query> queries)

        Lists matching query results, and shows query ID, status, and creation time of each query.

        Parameters:
        queries - Lists matching query results, and shows query ID, status, and creation time of each query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queries

        ListQueriesResponse.Builder queries​(Query... queries)

        Lists matching query results, and shows query ID, status, and creation time of each query.

        Parameters:
        queries - Lists matching query results, and shows query ID, status, and creation time of each query.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queries

        ListQueriesResponse.Builder queries​(Consumer<Query.Builder>... queries)

        Lists matching query results, and shows query ID, status, and creation time of each query.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #queries(List).

        Parameters:
        queries - a consumer that will call methods on Query.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #queries(java.util.Collection)
      • nextToken

        ListQueriesResponse.Builder nextToken​(String nextToken)

        A token you can use to get the next page of results.

        Parameters:
        nextToken - A token you can use to get the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.