Interface GeneratedAnswerResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GeneratedAnswerResult.Builder,
,GeneratedAnswerResult> SdkBuilder<GeneratedAnswerResult.Builder,
,GeneratedAnswerResult> SdkPojo
- Enclosing class:
GeneratedAnswerResult
@Mutable
@NotThreadSafe
public static interface GeneratedAnswerResult.Builder
extends SdkPojo, CopyableBuilder<GeneratedAnswerResult.Builder,GeneratedAnswerResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the answer.answerStatus
(String answerStatus) The answer status of the generated answer.answerStatus
(GeneratedAnswerStatus answerStatus) The answer status of the generated answer.questionId
(String questionId) The ID of the question.questionText
(String questionText) The question text.questionUrl
(String questionUrl) The URL of the question.restatement
(String restatement) The restatement for the answer.The ID of the topic.The name of the topic.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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.
-