Class CfnEvaluationForm.QuestionPointsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEvaluationForm.QuestionPointsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationForm.QuestionPointsConfigurationProperty>
- Enclosing interface:
CfnEvaluationForm.QuestionPointsConfigurationProperty
@Stability(Stable)
public static final class CfnEvaluationForm.QuestionPointsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationForm.QuestionPointsConfigurationProperty>
A builder for
CfnEvaluationForm.QuestionPointsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getIsBonus()isBonus(IResolvable isBonus) Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getIsBonus()maxPointValue(Number maxPointValue) Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getMaxPointValue()minPointValue(Number minPointValue) Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getMinPointValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isBonus
@Stability(Stable) public CfnEvaluationForm.QuestionPointsConfigurationProperty.Builder isBonus(Boolean isBonus) Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getIsBonus()- Parameters:
isBonus- Whether the question is a bonus question.- Returns:
this
-
isBonus
@Stability(Stable) public CfnEvaluationForm.QuestionPointsConfigurationProperty.Builder isBonus(IResolvable isBonus) Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getIsBonus()- Parameters:
isBonus- Whether the question is a bonus question.- Returns:
this
-
maxPointValue
@Stability(Stable) public CfnEvaluationForm.QuestionPointsConfigurationProperty.Builder maxPointValue(Number maxPointValue) Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getMaxPointValue()- Parameters:
maxPointValue- The point value for scoring.- Returns:
this
-
minPointValue
@Stability(Stable) public CfnEvaluationForm.QuestionPointsConfigurationProperty.Builder minPointValue(Number minPointValue) Sets the value ofCfnEvaluationForm.QuestionPointsConfigurationProperty.getMinPointValue()- Parameters:
minPointValue- The point value for scoring.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationForm.QuestionPointsConfigurationProperty>- Returns:
- a new instance of
CfnEvaluationForm.QuestionPointsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-