Class CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautomation(CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty automation) automation(IResolvable automation) build()Builds the configured instance.options(IResolvable options)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
automation
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder automation(IResolvable automation) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.getAutomation()- Parameters:
automation- The display mode of the single select question.- Returns:
this
-
automation
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder automation(CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionAutomationProperty automation) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.getAutomation()- Parameters:
automation- The display mode of the single select question.- Returns:
this
-
displayAs
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder displayAs(String displayAs) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.getDisplayAs()- Parameters:
displayAs- The display mode of the single select question. Allowed values :DROPDOWN|RADIO- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder options(IResolvable options) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.getOptions()- Parameters:
options- The answer options of the single select question. Minimum : 2Maximum : 256
- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder options(List<? extends Object> options) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty.getOptions()- Parameters:
options- The answer options of the single select question. Minimum : 2Maximum : 256
- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-