Class CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty>
- Enclosing interface:
- CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty
@Stability(Stable)
public static final class CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultOptionRefId
(String defaultOptionRefId) options
(IResolvable options)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
options
@Stability(Stable) public CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.Builder options(IResolvable options) Sets the value ofCfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.getOptions()
- Parameters:
options
- The automation options of the single select question. This parameter is required. Minimum : 1Maximum : 20
- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.Builder options(List<? extends Object> options) Sets the value ofCfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.getOptions()
- Parameters:
options
- The automation options of the single select question. This parameter is required. Minimum : 1Maximum : 20
- Returns:
this
-
defaultOptionRefId
@Stability(Stable) public CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty.Builder defaultOptionRefId(String defaultOptionRefId) Sets the value ofCfnEvaluationForm.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
-
build
@Stability(Stable) public CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty>
- Returns:
- a new instance of
CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-