Interface CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationForm
@Stability(Stable)
public static interface CfnEvaluationForm.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.services.connect.*;
EvaluationFormSingleSelectQuestionOptionProperty evaluationFormSingleSelectQuestionOptionProperty = EvaluationFormSingleSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
// 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.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.getRefId()The identifier of the answer option.default NumbergetScore()The score assigned to the answer option.getText()The title of the answer option.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
getText
The title of the answer option.Length Constraints : Minimum length of 1. Maximum length of 128.
- 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
Whether automatic fail is configured on a single select question.Returns union: either
IResolvableorCfnEvaluationForm.AutomaticFailConfigurationProperty- See Also:
-
getScore
The score assigned to the answer option.Minimum : 0
Maximum : 10
- See Also:
-
builder
@Stability(Stable) static CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty.Builder builder()
-