Interface CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionOptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionOptionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationFormPropsMixin
@Stability(Stable)
public static interface CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionOptionProperty
extends software.amazon.jsii.JsiiSerializable
Information about the option range used for scoring in numeric questions.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.connect.*;
EvaluationFormNumericQuestionOptionProperty evaluationFormNumericQuestionOptionProperty = EvaluationFormNumericQuestionOptionProperty.builder()
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.maxValue(123)
.minValue(123)
.score(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionOptionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe flag to mark the option as automatic fail.default ObjectA configuration for automatic fail.default NumberThe maximum answer value of the range option.default NumberThe minimum answer value of the range option.default NumbergetScore()The score assigned to answer values within the range option.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutomaticFail
The flag to mark the option as automatic fail.If an automatic fail answer is provided, the overall evaluation gets a score of 0.
Returns union: either
BooleanorIResolvable- See Also:
-
getAutomaticFailConfiguration
A configuration for automatic fail.Returns union: either
IResolvableorCfnEvaluationFormPropsMixin.AutomaticFailConfigurationProperty- See Also:
-
getMaxValue
The maximum answer value of the range option.- See Also:
-
getMinValue
The minimum answer value of the range option.- See Also:
-
getScore
The score assigned to answer values within the range option.Minimum : 0
Maximum : 10
- See Also:
-
builder
@Stability(Stable) static CfnEvaluationFormPropsMixin.EvaluationFormNumericQuestionOptionProperty.Builder builder()
-