Interface EvaluationSuggestedAnswer.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationSuggestedAnswer.Builder,,EvaluationSuggestedAnswer> SdkBuilder<EvaluationSuggestedAnswer.Builder,,EvaluationSuggestedAnswer> SdkPojo
- Enclosing class:
EvaluationSuggestedAnswer
-
Method Summary
Modifier and TypeMethodDescriptionanalysisDetails(Consumer<EvaluationQuestionAnswerAnalysisDetails.Builder> analysisDetails) Detailed analysis results.analysisDetails(EvaluationQuestionAnswerAnalysisDetails analysisDetails) Detailed analysis results.analysisType(String analysisType) Type of analysis used to provide suggested answer.analysisType(EvaluationQuestionAnswerAnalysisType analysisType) Type of analysis used to provide suggested answer.Details about the input used to question automation.Details about the input used to question automation.The status of the suggested answer.The status of the suggested answer.Sets the value of the Value property for this object.value(EvaluationAnswerData value) Sets the value of the Value property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
value
Sets the value of the Value property for this object.- Parameters:
value- The new value for the Value property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Sets the value of the Value property for this object. This is a convenience method that creates an instance of theEvaluationAnswerData.Builderavoiding the need to create one manually viaEvaluationAnswerData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(EvaluationAnswerData).- Parameters:
value- a consumer that will call methods onEvaluationAnswerData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the suggested answer. D
- Parameters:
status- The status of the suggested answer. D- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the suggested answer. D
- Parameters:
status- The status of the suggested answer. D- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
input
Details about the input used to question automation.
- Parameters:
input- Details about the input used to question automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
default EvaluationSuggestedAnswer.Builder input(Consumer<EvaluationQuestionInputDetails.Builder> input) Details about the input used to question automation.
This is a convenience method that creates an instance of theEvaluationQuestionInputDetails.Builderavoiding the need to create one manually viaEvaluationQuestionInputDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinput(EvaluationQuestionInputDetails).- Parameters:
input- a consumer that will call methods onEvaluationQuestionInputDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisType
Type of analysis used to provide suggested answer.
- Parameters:
analysisType- Type of analysis used to provide suggested answer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisType
Type of analysis used to provide suggested answer.
- Parameters:
analysisType- Type of analysis used to provide suggested answer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisDetails
EvaluationSuggestedAnswer.Builder analysisDetails(EvaluationQuestionAnswerAnalysisDetails analysisDetails) Detailed analysis results.
- Parameters:
analysisDetails- Detailed analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisDetails
default EvaluationSuggestedAnswer.Builder analysisDetails(Consumer<EvaluationQuestionAnswerAnalysisDetails.Builder> analysisDetails) Detailed analysis results.
This is a convenience method that creates an instance of theEvaluationQuestionAnswerAnalysisDetails.Builderavoiding the need to create one manually viaEvaluationQuestionAnswerAnalysisDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanalysisDetails(EvaluationQuestionAnswerAnalysisDetails).- Parameters:
analysisDetails- a consumer that will call methods onEvaluationQuestionAnswerAnalysisDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-