Interface EvaluationFormSingleSelectQuestionAutomationOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormSingleSelectQuestionAutomationOption.Builder,,EvaluationFormSingleSelectQuestionAutomationOption> SdkBuilder<EvaluationFormSingleSelectQuestionAutomationOption.Builder,,EvaluationFormSingleSelectQuestionAutomationOption> SdkPojo
- Enclosing class:
EvaluationFormSingleSelectQuestionAutomationOption
@Mutable
@NotThreadSafe
public static interface EvaluationFormSingleSelectQuestionAutomationOption.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormSingleSelectQuestionAutomationOption.Builder,EvaluationFormSingleSelectQuestionAutomationOption>
-
Method Summary
Modifier and TypeMethodDescriptionautomationRule(Consumer<SingleSelectQuestionAutomationRule.Builder> automationRule) The automation option based on a condition for the single select question.automationRule(SingleSelectQuestionAutomationRule automationRule) The automation option based on a condition for the single select question.The automation option based on a rule category for the single select question.ruleCategory(SingleSelectQuestionRuleCategoryAutomation ruleCategory) The automation option based on a rule category for 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
-
ruleCategory
EvaluationFormSingleSelectQuestionAutomationOption.Builder ruleCategory(SingleSelectQuestionRuleCategoryAutomation ruleCategory) The automation option based on a rule category for the single select question.
- Parameters:
ruleCategory- The automation option based on a rule category for the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleCategory
default EvaluationFormSingleSelectQuestionAutomationOption.Builder ruleCategory(Consumer<SingleSelectQuestionRuleCategoryAutomation.Builder> ruleCategory) The automation option based on a rule category for the single select question.
This is a convenience method that creates an instance of theSingleSelectQuestionRuleCategoryAutomation.Builderavoiding the need to create one manually viaSingleSelectQuestionRuleCategoryAutomation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleCategory(SingleSelectQuestionRuleCategoryAutomation).- Parameters:
ruleCategory- a consumer that will call methods onSingleSelectQuestionRuleCategoryAutomation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automationRule
EvaluationFormSingleSelectQuestionAutomationOption.Builder automationRule(SingleSelectQuestionAutomationRule automationRule) The automation option based on a condition for the single select question. Use with the
CONDITIONanswer source type.- Parameters:
automationRule- The automation option based on a condition for the single select question. Use with theCONDITIONanswer source type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationRule
default EvaluationFormSingleSelectQuestionAutomationOption.Builder automationRule(Consumer<SingleSelectQuestionAutomationRule.Builder> automationRule) The automation option based on a condition for the single select question. Use with the
This is a convenience method that creates an instance of theCONDITIONanswer source type.SingleSelectQuestionAutomationRule.Builderavoiding the need to create one manually viaSingleSelectQuestionAutomationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomationRule(SingleSelectQuestionAutomationRule).- Parameters:
automationRule- a consumer that will call methods onSingleSelectQuestionAutomationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-