Interface CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationForm
@Stability(Stable)
public static interface CfnEvaluationForm.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.services.connect.*;
EvaluationFormNumericQuestionOptionProperty evaluationFormNumericQuestionOptionProperty = EvaluationFormNumericQuestionOptionProperty.builder()
.maxValue(123)
.minValue(123)
// the properties below are optional
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.score(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe flag to mark the option as automatic fail.default ObjectA configuration for automatic fail.The maximum answer value of the range option.The 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
-
getMaxValue
The maximum answer value of the range option.- See Also:
-
getMinValue
The minimum answer value of the range option.- See Also:
-
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
IResolvableorCfnEvaluationForm.AutomaticFailConfigurationProperty- See Also:
-
getScore
The score assigned to answer values within the range option.Minimum : 0
Maximum : 10
- See Also:
-
builder
@Stability(Stable) static CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty.Builder builder()
-