Class CfnEvaluationForm.ScoringStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEvaluationForm.ScoringStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationForm.ScoringStrategyProperty>
- Enclosing interface:
CfnEvaluationForm.ScoringStrategyProperty
@Stability(Stable)
public static final class CfnEvaluationForm.ScoringStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationForm.ScoringStrategyProperty>
A builder for
CfnEvaluationForm.ScoringStrategyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEvaluationForm.ScoringStrategyProperty.getMode()
Sets the value ofCfnEvaluationForm.ScoringStrategyProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCfnEvaluationForm.ScoringStrategyProperty.getMode()
- Parameters:
mode
- The scoring mode of the evaluation form. This parameter is required. Allowed values :QUESTION_ONLY
|SECTION_ONLY
- Returns:
this
-
status
Sets the value ofCfnEvaluationForm.ScoringStrategyProperty.getStatus()
- Parameters:
status
- The scoring status of the evaluation form. This parameter is required. Allowed values :ENABLED
|DISABLED
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEvaluationForm.ScoringStrategyProperty>
- Returns:
- a new instance of
CfnEvaluationForm.ScoringStrategyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-