Class CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty>
-
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
-
automation
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder automation(IResolvable automation) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.getAutomation()- Parameters:
automation- The automation properties of the numeric question.- Returns:
this
-
automation
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder automation(CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionAutomationProperty automation) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.getAutomation()- Parameters:
automation- The automation properties of the numeric question.- Returns:
this
-
maxValue
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder maxValue(Number maxValue) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.getMaxValue()- Parameters:
maxValue- The maximum answer value.- Returns:
this
-
minValue
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder minValue(Number minValue) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.getMinValue()- Parameters:
minValue- The minimum answer value.- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder options(IResolvable options) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.getOptions()- Parameters:
options- The scoring options of the numeric question.- Returns:
this
-
options
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.Builder options(List<? extends Object> options) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty.getOptions()- Parameters:
options- The scoring options of the numeric question.- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-