Interface GeneratedAnswerResult.Builder

    • Method Detail

      • questionText

        GeneratedAnswerResult.Builder questionText​(String questionText)

        The question text.

        Parameters:
        questionText - The question text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topicId

        GeneratedAnswerResult.Builder topicId​(String topicId)

        The ID of the topic.

        Parameters:
        topicId - The ID of the topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topicName

        GeneratedAnswerResult.Builder topicName​(String topicName)

        The name of the topic.

        Parameters:
        topicName - The name of the topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • restatement

        GeneratedAnswerResult.Builder restatement​(String restatement)

        The restatement for the answer.

        Parameters:
        restatement - The restatement for the answer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • questionId

        GeneratedAnswerResult.Builder questionId​(String questionId)

        The ID of the question.

        Parameters:
        questionId - The ID of the question.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • answerId

        GeneratedAnswerResult.Builder answerId​(String answerId)

        The ID of the answer.

        Parameters:
        answerId - The ID of the answer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • questionUrl

        GeneratedAnswerResult.Builder questionUrl​(String questionUrl)

        The URL of the question.

        Parameters:
        questionUrl - The URL of the question.
        Returns:
        Returns a reference to this object so that method calls can be chained together.