Interface GeneratedAnswerResult.Builder

  • Method Details

    • 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.
    • answerStatus

      GeneratedAnswerResult.Builder answerStatus(String answerStatus)

      The answer status of the generated answer.

      Parameters:
      answerStatus - The answer status of the generated answer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • answerStatus

      The answer status of the generated answer.

      Parameters:
      answerStatus - The answer status of the generated answer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.