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
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
minValue
EvaluationFormNumericQuestionProperties.Builder minValue(Integer 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
EvaluationFormNumericQuestionProperties.Builder maxValue(Integer 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 to#options(List.) - 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:
#options(java.util.Collection)
-
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:
automation(EvaluationFormNumericQuestionAutomation)
-
-