Class CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerSource(CfnEvaluationFormPropsMixin.EvaluationFormQuestionAutomationAnswerSourceProperty answerSource) answerSource(IResolvable answerSource) build()Builds the configured instance.defaultOptionRefId(String defaultOptionRefId) options(IResolvable options)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
answerSource
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder answerSource(IResolvable answerSource) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.getAnswerSource()- Parameters:
answerSource- Automation answer source.- Returns:
this
-
answerSource
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder answerSource(CfnEvaluationFormPropsMixin.EvaluationFormQuestionAutomationAnswerSourceProperty answerSource) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.getAnswerSource()- Parameters:
answerSource- Automation answer source.- Returns:
this
-
defaultOptionRefId
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder defaultOptionRefId(String defaultOptionRefId) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.getDefaultOptionRefId()- Parameters:
defaultOptionRefId- The identifier of the default answer option, when none of the automation options match the criteria. Length Constraints : Minimum length of 1. Maximum length of 40.- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder options(IResolvable options) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.getOptions()- Parameters:
options- The automation options of the single select question. Minimum : 1Maximum : 20
- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.Builder options(List<? extends Object> options) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty.getOptions()- Parameters:
options- The automation options of the single select question. Minimum : 1Maximum : 20
- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty - Throws:
NullPointerException- if any required attribute was not provided
-