Interface CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationForm
@Stability(Stable)
public static interface CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty
extends software.amazon.jsii.JsiiSerializable
Information about the options 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.*;
EvaluationFormSingleSelectQuestionPropertiesProperty evaluationFormSingleSelectQuestionPropertiesProperty = EvaluationFormSingleSelectQuestionPropertiesProperty.builder()
.options(List.of(EvaluationFormSingleSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
// the properties below are optional
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.score(123)
.build()))
// the properties below are optional
.automation(EvaluationFormSingleSelectQuestionAutomationProperty.builder()
.options(List.of(EvaluationFormSingleSelectQuestionAutomationOptionProperty.builder()
.ruleCategory(SingleSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefId("optionRefId")
.build())
.build()))
// the properties below are optional
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.defaultOptionRefId("defaultOptionRefId")
.build())
.displayAs("displayAs")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOptions
The answer options of the single select question.Minimum : 2
Maximum : 256
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty>- See Also:
-
getAutomation
The display mode of the single select question.Returns union: either
IResolvableorCfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty- See Also:
-
getDisplayAs
The display mode of the single select question.Allowed values :
DROPDOWN|RADIO- See Also:
-
builder
@Stability(Stable) static CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty.Builder builder()
-