Class CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautomaticFail(Boolean automaticFail) automaticFail(IResolvable automaticFail) automaticFailConfiguration(CfnEvaluationFormPropsMixin.AutomaticFailConfigurationProperty automaticFailConfiguration) automaticFailConfiguration(IResolvable automaticFailConfiguration) build()Builds the configured instance.pointsConfiguration(CfnEvaluationFormPropsMixin.QuestionOptionPointsConfigurationProperty pointsConfiguration) pointsConfiguration(IResolvable pointsConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
automaticFail
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder automaticFail(Boolean automaticFail) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getAutomaticFail()- Parameters:
automaticFail- the value to be set.- Returns:
this
-
automaticFail
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder automaticFail(IResolvable automaticFail) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getAutomaticFail()- Parameters:
automaticFail- the value to be set.- Returns:
this
-
automaticFailConfiguration
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder automaticFailConfiguration(IResolvable automaticFailConfiguration) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getAutomaticFailConfiguration()- Parameters:
automaticFailConfiguration- Information about automatic fail configuration for an evaluation form.- Returns:
this
-
automaticFailConfiguration
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder automaticFailConfiguration(CfnEvaluationFormPropsMixin.AutomaticFailConfigurationProperty automaticFailConfiguration) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getAutomaticFailConfiguration()- Parameters:
automaticFailConfiguration- Information about automatic fail configuration for an evaluation form.- Returns:
this
-
pointsConfiguration
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder pointsConfiguration(IResolvable pointsConfiguration) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getPointsConfiguration()- Parameters:
pointsConfiguration- the value to be set.- Returns:
this
-
pointsConfiguration
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder pointsConfiguration(CfnEvaluationFormPropsMixin.QuestionOptionPointsConfigurationProperty pointsConfiguration) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getPointsConfiguration()- Parameters:
pointsConfiguration- the value to be set.- Returns:
this
-
refId
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder refId(String refId) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getRefId()- Parameters:
refId- Reference identifier for this option.- Returns:
this
-
score
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder score(Number score) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getScore()- Parameters:
score- The score of an answer option.- Returns:
this
-
text
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.Builder text(String text) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty.getText()- Parameters:
text- Display text for this option.- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormMultiSelectQuestionOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-