Interface CfnEvaluationFormPropsMixin.EvaluationFormItemProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEvaluationFormPropsMixin.EvaluationFormItemProperty.Jsii$Proxy
Enclosing class:
CfnEvaluationFormPropsMixin

@Stability(Stable) public static interface CfnEvaluationFormPropsMixin.EvaluationFormItemProperty extends software.amazon.jsii.JsiiSerializable
Items that are part of the evaluation form.

The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.

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.*;
 EvaluationFormItemProperty evaluationFormItemProperty_;
 EvaluationFormItemProperty evaluationFormItemProperty = EvaluationFormItemProperty.builder()
         .question(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())
         .section(EvaluationFormSectionProperty.builder()
                 .instructions("instructions")
                 .items(List.of(evaluationFormItemProperty_))
                 .refId("refId")
                 .title("title")
                 .weight(123)
                 .build())
         .build();
 

See Also: