Interface SubmitFeedbackRequest.Builder

    • Method Detail

      • indexId

        SubmitFeedbackRequest.Builder indexId​(String indexId)

        The identifier of the index that was queried.

        Parameters:
        indexId - The identifier of the index that was queried.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryId

        SubmitFeedbackRequest.Builder queryId​(String queryId)

        The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the Query API.

        Parameters:
        queryId - The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the Query API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clickFeedbackItems

        SubmitFeedbackRequest.Builder clickFeedbackItems​(Collection<ClickFeedback> clickFeedbackItems)

        Tells Amazon Kendra that a particular search result link was chosen by the user.

        Parameters:
        clickFeedbackItems - Tells Amazon Kendra that a particular search result link was chosen by the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clickFeedbackItems

        SubmitFeedbackRequest.Builder clickFeedbackItems​(ClickFeedback... clickFeedbackItems)

        Tells Amazon Kendra that a particular search result link was chosen by the user.

        Parameters:
        clickFeedbackItems - Tells Amazon Kendra that a particular search result link was chosen by the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relevanceFeedbackItems

        SubmitFeedbackRequest.Builder relevanceFeedbackItems​(Collection<RelevanceFeedback> relevanceFeedbackItems)

        Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.

        Parameters:
        relevanceFeedbackItems - Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relevanceFeedbackItems

        SubmitFeedbackRequest.Builder relevanceFeedbackItems​(RelevanceFeedback... relevanceFeedbackItems)

        Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.

        Parameters:
        relevanceFeedbackItems - Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.
        Returns:
        Returns a reference to this object so that method calls can be chained together.