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