Interface CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionOptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionOptionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationFormPropsMixin
@Stability(Stable)
public static interface CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionOptionProperty
extends software.amazon.jsii.JsiiSerializable
Information about the automation configuration in single select 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.*;
EvaluationFormSingleSelectQuestionOptionProperty evaluationFormSingleSelectQuestionOptionProperty = EvaluationFormSingleSelectQuestionOptionProperty.builder()
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.pointsConfiguration(QuestionOptionPointsConfigurationProperty.builder()
.isBonus(false)
.pointValue(123)
.build())
.refId("refId")
.score(123)
.text("text")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionOptionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe flag to mark the option as automatic fail.default ObjectWhether automatic fail is configured on a single select question.default ObjectInformation about the points configuration for an answer option.default StringgetRefId()The identifier of the answer option.default NumbergetScore()The score assigned to the answer option.default StringgetText()The title of the answer 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
Whether automatic fail is configured on a single select question.Returns union: either
IResolvableorCfnEvaluationFormPropsMixin.AutomaticFailConfigurationProperty- See Also:
-
getPointsConfiguration
Information about the points configuration for an answer option.Returns union: either
IResolvableorCfnEvaluationFormPropsMixin.QuestionOptionPointsConfigurationProperty- See Also:
-
getRefId
The identifier of the answer option. An identifier must be unique within the question.Length Constraints : Minimum length of 1. Maximum length of 40.
- See Also:
-
getScore
The score assigned to the answer option.Minimum : 0
Maximum : 10
- See Also:
-
getText
The title of the answer option.Length Constraints : Minimum length of 1. Maximum length of 128.
- See Also:
-
builder
@Stability(Stable) static CfnEvaluationFormPropsMixin.EvaluationFormSingleSelectQuestionOptionProperty.Builder builder()
-