Interface RetrieveResponse.Builder

    • Method Detail

      • queryId

        RetrieveResponse.Builder queryId​(String queryId)

        The identifier of query used for the search. You also use QueryId to identify the search when using the Submitfeedback API.

        Parameters:
        queryId - The identifier of query used for the search. You also use QueryId to identify the search when using the Submitfeedback API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultItems

        RetrieveResponse.Builder resultItems​(Collection<RetrieveResultItem> resultItems)

        The results of the retrieved relevant passages for the search.

        Parameters:
        resultItems - The results of the retrieved relevant passages for the search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultItems

        RetrieveResponse.Builder resultItems​(RetrieveResultItem... resultItems)

        The results of the retrieved relevant passages for the search.

        Parameters:
        resultItems - The results of the retrieved relevant passages for the search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.