Interface EvaluationFormNumericQuestionProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormNumericQuestionProperties.Builder,,EvaluationFormNumericQuestionProperties> SdkBuilder<EvaluationFormNumericQuestionProperties.Builder,,EvaluationFormNumericQuestionProperties> SdkPojo
- Enclosing class:
EvaluationFormNumericQuestionProperties
public static interface EvaluationFormNumericQuestionProperties.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormNumericQuestionProperties.Builder,EvaluationFormNumericQuestionProperties>
-
Method Summary
Modifier and TypeMethodDescriptionThe automation properties of the numeric question.automation(EvaluationFormNumericQuestionAutomation automation) The automation properties of the numeric question.The maximum answer value.The minimum answer value.The scoring options of the numeric question.options(Consumer<EvaluationFormNumericQuestionOption.Builder>... options) The scoring options of the numeric question.options(EvaluationFormNumericQuestionOption... options) The scoring options of the numeric question.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, sdkFields
-
Method Details
-
minValue
The minimum answer value.
- Parameters:
minValue- The minimum answer value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxValue
The maximum answer value.
- Parameters:
maxValue- The maximum answer value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
EvaluationFormNumericQuestionProperties.Builder options(Collection<EvaluationFormNumericQuestionOption> options) The scoring options of the numeric question.
- Parameters:
options- The scoring options of the numeric question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
EvaluationFormNumericQuestionProperties.Builder options(EvaluationFormNumericQuestionOption... options) The scoring options of the numeric question.
- Parameters:
options- The scoring options of the numeric question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
EvaluationFormNumericQuestionProperties.Builder options(Consumer<EvaluationFormNumericQuestionOption.Builder>... options) The scoring options of the numeric question.
This is a convenience method that creates an instance of theEvaluationFormNumericQuestionOption.Builderavoiding the need to create one manually viaEvaluationFormNumericQuestionOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(List<EvaluationFormNumericQuestionOption>).- Parameters:
options- a consumer that will call methods onEvaluationFormNumericQuestionOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automation
EvaluationFormNumericQuestionProperties.Builder automation(EvaluationFormNumericQuestionAutomation automation) The automation properties of the numeric question.
- Parameters:
automation- The automation properties of the numeric question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automation
default EvaluationFormNumericQuestionProperties.Builder automation(Consumer<EvaluationFormNumericQuestionAutomation.Builder> automation) The automation properties of the numeric question.
This is a convenience method that creates an instance of theEvaluationFormNumericQuestionAutomation.Builderavoiding the need to create one manually viaEvaluationFormNumericQuestionAutomation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomation(EvaluationFormNumericQuestionAutomation).- Parameters:
automation- a consumer that will call methods onEvaluationFormNumericQuestionAutomation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-