Interface EvaluationFormSingleSelectQuestionAutomation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormSingleSelectQuestionAutomation.Builder,,EvaluationFormSingleSelectQuestionAutomation> SdkBuilder<EvaluationFormSingleSelectQuestionAutomation.Builder,,EvaluationFormSingleSelectQuestionAutomation> SdkPojo
- Enclosing class:
EvaluationFormSingleSelectQuestionAutomation
@Mutable
@NotThreadSafe
public static interface EvaluationFormSingleSelectQuestionAutomation.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormSingleSelectQuestionAutomation.Builder,EvaluationFormSingleSelectQuestionAutomation>
-
Method Summary
Modifier and TypeMethodDescriptionAutomation answer source.answerSource(EvaluationFormQuestionAutomationAnswerSource answerSource) Automation answer source.defaultOptionRefId(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
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
-
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.Builderavoiding the need to create one manually viaEvaluationFormSingleSelectQuestionAutomationOption.builder().When the
Consumercompletes,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.
-
answerSource
EvaluationFormSingleSelectQuestionAutomation.Builder answerSource(EvaluationFormQuestionAutomationAnswerSource answerSource) Automation answer source.
- Parameters:
answerSource- Automation answer source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerSource
default EvaluationFormSingleSelectQuestionAutomation.Builder answerSource(Consumer<EvaluationFormQuestionAutomationAnswerSource.Builder> answerSource) Automation answer source.
This is a convenience method that creates an instance of theEvaluationFormQuestionAutomationAnswerSource.Builderavoiding the need to create one manually viaEvaluationFormQuestionAutomationAnswerSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanswerSource(EvaluationFormQuestionAutomationAnswerSource).- Parameters:
answerSource- a consumer that will call methods onEvaluationFormQuestionAutomationAnswerSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-