Interface CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationFormPropsMixin
@Stability(Stable)
public static interface CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty
extends software.amazon.jsii.JsiiSerializable
Information about a question from 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.cfnpropertymixins.services.connect.*;
EvaluationFormQuestionProperty evaluationFormQuestionProperty = EvaluationFormQuestionProperty.builder()
.enablement(EvaluationFormItemEnablementConfigurationProperty.builder()
.action("action")
.condition(EvaluationFormItemEnablementConditionProperty.builder()
.operands(List.of(EvaluationFormItemEnablementConditionOperandProperty.builder()
.expression(EvaluationFormItemEnablementExpressionProperty.builder()
.comparator("comparator")
.source(EvaluationFormItemEnablementSourceProperty.builder()
.refId("refId")
.type("type")
.build())
.values(List.of(EvaluationFormItemEnablementSourceValueProperty.builder()
.refId("refId")
.type("type")
.build()))
.build())
.build()))
.operator("operator")
.build())
.defaultAction("defaultAction")
.build())
.instructions("instructions")
.notApplicableEnabled(false)
.questionType("questionType")
.questionTypeProperties(EvaluationFormQuestionTypePropertiesProperty.builder()
.multiSelect(EvaluationFormMultiSelectQuestionPropertiesProperty.builder()
.automation(EvaluationFormMultiSelectQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.defaultOptionRefIds(List.of("defaultOptionRefIds"))
.options(List.of(EvaluationFormMultiSelectQuestionAutomationOptionProperty.builder()
.ruleCategory(MultiSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefIds(List.of("optionRefIds"))
.build())
.build()))
.build())
.displayAs("displayAs")
.options(List.of(EvaluationFormMultiSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
.build()))
.build())
.numeric(EvaluationFormNumericQuestionPropertiesProperty.builder()
.automation(EvaluationFormNumericQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.propertyValue(NumericQuestionPropertyValueAutomationProperty.builder()
.label("label")
.build())
.build())
.maxValue(123)
.minValue(123)
.options(List.of(EvaluationFormNumericQuestionOptionProperty.builder()
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.maxValue(123)
.minValue(123)
.score(123)
.build()))
.build())
.singleSelect(EvaluationFormSingleSelectQuestionPropertiesProperty.builder()
.automation(EvaluationFormSingleSelectQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.defaultOptionRefId("defaultOptionRefId")
.options(List.of(EvaluationFormSingleSelectQuestionAutomationOptionProperty.builder()
.ruleCategory(SingleSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefId("optionRefId")
.build())
.build()))
.build())
.displayAs("displayAs")
.options(List.of(EvaluationFormSingleSelectQuestionOptionProperty.builder()
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.refId("refId")
.score(123)
.text("text")
.build()))
.build())
.text(EvaluationFormTextQuestionPropertiesProperty.builder()
.automation(EvaluationFormTextQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.build())
.build())
.build())
.refId("refId")
.title("title")
.weight(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA question conditional enablement.default StringThe instructions of the section.default ObjectThe flag to enable not applicable answers to the question.default StringThe type of the question.default ObjectThe properties of the type of question.default StringgetRefId()The identifier of the question.default StringgetTitle()The title of the question.default NumberThe scoring weight of the section.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnablement
A question conditional enablement.Returns union: either
IResolvableorCfnEvaluationFormPropsMixin.EvaluationFormItemEnablementConfigurationProperty- See Also:
-
getInstructions
The instructions of the section.Length Constraints : Minimum length of 0. Maximum length of 1024.
- See Also:
-
getNotApplicableEnabled
The flag to enable not applicable answers to the question.Returns union: either
BooleanorIResolvable- See Also:
-
getQuestionType
The type of the question.Allowed values :
NUMERIC|SINGLESELECT|TEXT- See Also:
-
getQuestionTypeProperties
The properties of the type of question.Text questions do not have to define question type properties.
Returns union: either
IResolvableorCfnEvaluationFormPropsMixin.EvaluationFormQuestionTypePropertiesProperty- See Also:
-
getRefId
The identifier of the question. An identifier must be unique within the evaluation form.Length Constraints : Minimum length of 1. Maximum length of 40.
- See Also:
-
getTitle
The title of the question.Length Constraints : Minimum length of 1. Maximum length of 350.
- See Also:
-
getWeight
The scoring weight of the section.Minimum : 0
Maximum : 100
- See Also:
-
builder
@Stability(Stable) static CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty.Builder builder()
-