Interface CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationFormPropsMixin
@Stability(Stable)
public static interface CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty
extends software.amazon.jsii.JsiiSerializable
Information about a section from an evaluation form.
A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
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.*;
EvaluationFormSectionProperty evaluationFormSectionProperty_;
EvaluationFormSectionProperty evaluationFormSectionProperty = EvaluationFormSectionProperty.builder()
.instructions("instructions")
.items(List.of(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_)
.build()))
.refId("refId")
.title("title")
.weight(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEvaluationFormPropsMixin.EvaluationFormSectionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe instructions of the section.default ObjectgetItems()The items of the section.default StringgetRefId()The identifier of the section.default StringgetTitle()The title of the section.default NumberThe scoring weight of the section.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstructions
The instructions of the section.- See Also:
-
getItems
The items of the section.Minimum : 1
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluationFormPropsMixin.EvaluationFormItemProperty>- See Also:
-
getRefId
The identifier of the section. 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 section.Length Constraints : Minimum length of 1. Maximum length of 128.
- See Also:
-
getWeight
The scoring weight of the section.Minimum : 0
Maximum : 100
- See Also:
-
builder
@Stability(Stable) static CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty.Builder builder()
-