Interface EvaluationFormMultiSelectQuestionOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormMultiSelectQuestionOption.Builder,,EvaluationFormMultiSelectQuestionOption> SdkBuilder<EvaluationFormMultiSelectQuestionOption.Builder,,EvaluationFormMultiSelectQuestionOption> SdkPojo
- Enclosing class:
EvaluationFormMultiSelectQuestionOption
@Mutable
@NotThreadSafe
public static interface EvaluationFormMultiSelectQuestionOption.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormMultiSelectQuestionOption.Builder,EvaluationFormMultiSelectQuestionOption>
-
Method Summary
Modifier and TypeMethodDescriptionautomaticFail(Boolean automaticFail) The flag to mark the option as automatic fail.automaticFailConfiguration(Consumer<AutomaticFailConfiguration.Builder> automaticFailConfiguration) Sets the value of the AutomaticFailConfiguration property for this object.automaticFailConfiguration(AutomaticFailConfiguration automaticFailConfiguration) Sets the value of the AutomaticFailConfiguration property for this object.pointsConfiguration(Consumer<QuestionOptionPointsConfiguration.Builder> pointsConfiguration) The points configuration for point-based scoring.pointsConfiguration(QuestionOptionPointsConfiguration pointsConfiguration) The points configuration for point-based scoring.Reference identifier for this option.The score assigned to the answer option.Display text for this option.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
-
refId
Reference identifier for this option.
- Parameters:
refId- Reference identifier for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
Display text for this option.
- Parameters:
text- Display text for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The score assigned to the answer option.
- Parameters:
score- The score assigned to the answer option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticFail
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
- Parameters:
automaticFail- The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticFailConfiguration
EvaluationFormMultiSelectQuestionOption.Builder automaticFailConfiguration(AutomaticFailConfiguration automaticFailConfiguration) Sets the value of the AutomaticFailConfiguration property for this object.- Parameters:
automaticFailConfiguration- The new value for the AutomaticFailConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticFailConfiguration
default EvaluationFormMultiSelectQuestionOption.Builder automaticFailConfiguration(Consumer<AutomaticFailConfiguration.Builder> automaticFailConfiguration) Sets the value of the AutomaticFailConfiguration property for this object. This is a convenience method that creates an instance of theAutomaticFailConfiguration.Builderavoiding the need to create one manually viaAutomaticFailConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomaticFailConfiguration(AutomaticFailConfiguration).- Parameters:
automaticFailConfiguration- a consumer that will call methods onAutomaticFailConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pointsConfiguration
EvaluationFormMultiSelectQuestionOption.Builder pointsConfiguration(QuestionOptionPointsConfiguration pointsConfiguration) The points configuration for point-based scoring.
- Parameters:
pointsConfiguration- The points configuration for point-based scoring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pointsConfiguration
default EvaluationFormMultiSelectQuestionOption.Builder pointsConfiguration(Consumer<QuestionOptionPointsConfiguration.Builder> pointsConfiguration) The points configuration for point-based scoring.
This is a convenience method that creates an instance of theQuestionOptionPointsConfiguration.Builderavoiding the need to create one manually viaQuestionOptionPointsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topointsConfiguration(QuestionOptionPointsConfiguration).- Parameters:
pointsConfiguration- a consumer that will call methods onQuestionOptionPointsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-