Interface CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationForm
@Stability(Stable)
public static interface CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty
extends software.amazon.jsii.JsiiSerializable
An option for a multi-select question in an evaluation form.
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.*;
EvaluationFormMultiSelectQuestionOptionProperty evaluationFormMultiSelectQuestionOptionProperty = EvaluationFormMultiSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
// the properties below are optional
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.pointsConfiguration(QuestionOptionPointsConfigurationProperty.builder()
.pointValue(123)
// the properties below are optional
.isBonus(false)
.build())
.score(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe flag to mark the option as automatic fail.default ObjectInformation about automatic fail configuration for an evaluation form.default ObjectInformation about the points configuration for an answer option.getRefId()Reference identifier for this option.default NumbergetScore()The score of an answer option.getText()Display text for this option.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRefId
Reference identifier for this option.- See Also:
-
getText
Display text for this 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
Information about automatic fail configuration for an evaluation form.Returns union: either
IResolvableorCfnEvaluationForm.AutomaticFailConfigurationProperty- See Also:
-
getPointsConfiguration
Information about the points configuration for an answer option.Returns union: either
IResolvableorCfnEvaluationForm.QuestionOptionPointsConfigurationProperty- See Also:
-
getScore
The score of an answer option.- See Also:
-
builder
@Stability(Stable) static CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty.Builder builder()
-