Interface EvaluationFormSingleSelectQuestionAutomation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluationFormSingleSelectQuestionAutomation.Builder,
,EvaluationFormSingleSelectQuestionAutomation> SdkBuilder<EvaluationFormSingleSelectQuestionAutomation.Builder,
,EvaluationFormSingleSelectQuestionAutomation> SdkPojo
- Enclosing class:
EvaluationFormSingleSelectQuestionAutomation
public static interface EvaluationFormSingleSelectQuestionAutomation.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormSingleSelectQuestionAutomation.Builder,EvaluationFormSingleSelectQuestionAutomation>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultOptionRefId
(String defaultOptionRefId) The identifier of the default answer option, when none of the automation options match the criteria.The automation options of the single select question.The automation options of the single select question.The automation options of the single select question.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 Details
-
options
EvaluationFormSingleSelectQuestionAutomation.Builder options(Collection<EvaluationFormSingleSelectQuestionAutomationOption> options) The automation options of the single select question.
- Parameters:
options
- The automation options of the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
EvaluationFormSingleSelectQuestionAutomation.Builder options(EvaluationFormSingleSelectQuestionAutomationOption... options) The automation options of the single select question.
- Parameters:
options
- The automation options of the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
EvaluationFormSingleSelectQuestionAutomation.Builder options(Consumer<EvaluationFormSingleSelectQuestionAutomationOption.Builder>... options) The automation options of the single select question.
This is a convenience method that creates an instance of theEvaluationFormSingleSelectQuestionAutomationOption.Builder
avoiding the need to create one manually viaEvaluationFormSingleSelectQuestionAutomationOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(List<EvaluationFormSingleSelectQuestionAutomationOption>)
.- Parameters:
options
- a consumer that will call methods onEvaluationFormSingleSelectQuestionAutomationOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultOptionRefId
The identifier of the default answer option, when none of the automation options match the criteria.
- Parameters:
defaultOptionRefId
- The identifier of the default answer option, when none of the automation options match the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-