Class LemurQuestionAnswer.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.lemur.types.LemurQuestionAnswer.Builder
-
- All Implemented Interfaces:
LemurQuestionAnswer._FinalStage,LemurQuestionAnswer.AnswerStage,LemurQuestionAnswer.QuestionStage
- Enclosing class:
- LemurQuestionAnswer
public static final class LemurQuestionAnswer.Builder extends java.lang.Object implements LemurQuestionAnswer.QuestionStage, LemurQuestionAnswer.AnswerStage, LemurQuestionAnswer._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LemurQuestionAnswer._FinalStageanswer(java.lang.String answer)The answer generated by LeMURLemurQuestionAnswerbuild()LemurQuestionAnswer.Builderfrom(LemurQuestionAnswer other)LemurQuestionAnswer.AnswerStagequestion(java.lang.String question)The question for LeMUR to answer
-
-
-
Method Detail
-
from
public LemurQuestionAnswer.Builder from(LemurQuestionAnswer other)
- Specified by:
fromin interfaceLemurQuestionAnswer.QuestionStage
-
question
public LemurQuestionAnswer.AnswerStage question(java.lang.String question)
The question for LeMUR to answer
- Specified by:
questionin interfaceLemurQuestionAnswer.QuestionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
answer
public LemurQuestionAnswer._FinalStage answer(java.lang.String answer)
The answer generated by LeMUR
- Specified by:
answerin interfaceLemurQuestionAnswer.AnswerStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public LemurQuestionAnswer build()
- Specified by:
buildin interfaceLemurQuestionAnswer._FinalStage
-
-