Interface SearchResponse.Builder

    • Method Detail

      • results

        SearchResponse.Builder results​(Collection<SearchRecord> results)

        A list of SearchRecord objects.

        Parameters:
        results - A list of SearchRecord objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • results

        SearchResponse.Builder results​(SearchRecord... results)

        A list of SearchRecord objects.

        Parameters:
        results - A list of SearchRecord objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        SearchResponse.Builder nextToken​(String nextToken)

        If the result of the previous Search request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request.

        Parameters:
        nextToken - If the result of the previous Search request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.