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