Interface QAResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QAResult.Builder,,QAResult> SdkBuilder<QAResult.Builder,,QAResult> SdkPojo
- Enclosing class:
QAResult
@Mutable
@NotThreadSafe
public static interface QAResult.Builder
extends SdkPojo, CopyableBuilder<QAResult.Builder,QAResult>
-
Method Summary
Modifier and TypeMethodDescriptiondefault QAResult.BuilderdashboardVisual(Consumer<DashboardVisualResult.Builder> dashboardVisual) The representation of a dashboard visual result.dashboardVisual(DashboardVisualResult dashboardVisual) The representation of a dashboard visual result.default QAResult.BuildergeneratedAnswer(Consumer<GeneratedAnswerResult.Builder> generatedAnswer) The representation of a generated answer result.generatedAnswer(GeneratedAnswerResult generatedAnswer) The representation of a generated answer result.resultType(String resultType) The type of QA result.resultType(QAResultType resultType) The type of QA result.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
-
resultType
The type of QA result.
- Parameters:
resultType- The type of QA result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resultType
The type of QA result.
- Parameters:
resultType- The type of QA result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dashboardVisual
The representation of a dashboard visual result.
- Parameters:
dashboardVisual- The representation of a dashboard visual result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardVisual
The representation of a dashboard visual result.
This is a convenience method that creates an instance of theDashboardVisualResult.Builderavoiding the need to create one manually viaDashboardVisualResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todashboardVisual(DashboardVisualResult).- Parameters:
dashboardVisual- a consumer that will call methods onDashboardVisualResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
generatedAnswer
The representation of a generated answer result.
- Parameters:
generatedAnswer- The representation of a generated answer result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generatedAnswer
The representation of a generated answer result.
This is a convenience method that creates an instance of theGeneratedAnswerResult.Builderavoiding the need to create one manually viaGeneratedAnswerResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeneratedAnswer(GeneratedAnswerResult).- Parameters:
generatedAnswer- a consumer that will call methods onGeneratedAnswerResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-