Interface RerankResponse.Builder

    • Method Detail

      • nextToken

        RerankResponse.Builder nextToken​(String nextToken)

        If the total number of results is greater than can fit in the response, use this token in the nextToken field when making another request to return the next batch of results.

        Parameters:
        nextToken - If the total number of results is greater than can fit in the response, use this token in the nextToken field when making another request to return the next batch of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • results

        RerankResponse.Builder results​(Collection<RerankResult> results)

        An array of objects, each of which contains information about the results of reranking.

        Parameters:
        results - An array of objects, each of which contains information about the results of reranking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • results

        RerankResponse.Builder results​(RerankResult... results)

        An array of objects, each of which contains information about the results of reranking.

        Parameters:
        results - An array of objects, each of which contains information about the results of reranking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.