Interface EvaluationFormNumericQuestionOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormNumericQuestionOption.Builder,,EvaluationFormNumericQuestionOption> SdkBuilder<EvaluationFormNumericQuestionOption.Builder,,EvaluationFormNumericQuestionOption> SdkPojo
- Enclosing class:
EvaluationFormNumericQuestionOption
@Mutable
@NotThreadSafe
public static interface EvaluationFormNumericQuestionOption.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormNumericQuestionOption.Builder,EvaluationFormNumericQuestionOption>
-
Method Summary
Modifier and TypeMethodDescriptionautomaticFail(Boolean automaticFail) The flag to mark the option as automatic fail.automaticFailConfiguration(Consumer<AutomaticFailConfiguration.Builder> automaticFailConfiguration) A configuration for automatic fail.automaticFailConfiguration(AutomaticFailConfiguration automaticFailConfiguration) A configuration for automatic fail.The maximum answer value of the range option.The minimum answer value of the range option.The score assigned to answer values within the range 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
-
minValue
The minimum answer value of the range option.
- Parameters:
minValue- The minimum answer value of the range option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxValue
The maximum answer value of the range option.
- Parameters:
maxValue- The maximum answer value of the range option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The score assigned to answer values within the range option.
- Parameters:
score- The score assigned to answer values within the range 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
EvaluationFormNumericQuestionOption.Builder automaticFailConfiguration(AutomaticFailConfiguration automaticFailConfiguration) A configuration for automatic fail.
- Parameters:
automaticFailConfiguration- A configuration for automatic fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticFailConfiguration
default EvaluationFormNumericQuestionOption.Builder automaticFailConfiguration(Consumer<AutomaticFailConfiguration.Builder> automaticFailConfiguration) A configuration for automatic fail.
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:
-