Interface CfnEvaluationForm.EvaluationFormSectionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationForm.EvaluationFormSectionProperty.Jsii$Proxy
- Enclosing class:
CfnEvaluationForm
@Stability(Stable)
public static interface CfnEvaluationForm.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.services.connect.*;
EvaluationFormSectionProperty evaluationFormSectionProperty_;
EvaluationFormSectionProperty evaluationFormSectionProperty = EvaluationFormSectionProperty.builder()
.refId("refId")
.title("title")
// the properties below are optional
.instructions("instructions")
.isExcludedFromScoring(false)
.items(List.of(EvaluationFormItemProperty.builder()
.question(EvaluationFormQuestionProperty.builder()
.questionType("questionType")
.refId("refId")
.title("title")
// the properties below are optional
.enablement(EvaluationFormItemEnablementConfigurationProperty.builder()
.action("action")
.condition(EvaluationFormItemEnablementConditionProperty.builder()
.operands(List.of(EvaluationFormItemEnablementConditionOperandProperty.builder()
.expression(EvaluationFormItemEnablementExpressionProperty.builder()
.comparator("comparator")
.source(EvaluationFormItemEnablementSourceProperty.builder()
.type("type")
// the properties below are optional
.refId("refId")
.build())
.values(List.of(EvaluationFormItemEnablementSourceValueProperty.builder()
.refId("refId")
.type("type")
.build()))
.build())
.build()))
// the properties below are optional
.operator("operator")
.build())
// the properties below are optional
.defaultAction("defaultAction")
.build())
.instructions("instructions")
.notApplicableEnabled(false)
.questionTypeProperties(EvaluationFormQuestionTypePropertiesProperty.builder()
.multiSelect(EvaluationFormMultiSelectQuestionPropertiesProperty.builder()
.options(List.of(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()))
// the properties below are optional
.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")
.build())
.numeric(EvaluationFormNumericQuestionPropertiesProperty.builder()
.maxValue(123)
.minValue(123)
// the properties below are optional
.automation(EvaluationFormNumericQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.propertyValue(NumericQuestionPropertyValueAutomationProperty.builder()
.label("label")
.build())
.build())
.options(List.of(EvaluationFormNumericQuestionOptionProperty.builder()
.maxValue(123)
.minValue(123)
// 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()))
.build())
.singleSelect(EvaluationFormSingleSelectQuestionPropertiesProperty.builder()
.options(List.of(EvaluationFormSingleSelectQuestionOptionProperty.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()))
// the properties below are optional
.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")
.build())
.text(EvaluationFormTextQuestionPropertiesProperty.builder()
.automation(EvaluationFormTextQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.build())
.build())
.build())
.scoringConfiguration(EvaluationFormQuestionScoringConfigurationProperty.builder()
.isExcludedFromScoring(false)
.pointsConfiguration(QuestionPointsConfigurationProperty.builder()
.isBonus(false)
.maxPointValue(123)
.minPointValue(123)
.build())
.scoreThresholds(List.of(EvaluationFormScoreThresholdProperty.builder()
.performanceCategory("performanceCategory")
// the properties below are optional
.maxScorePercentage(123)
.minScorePercentage(123)
.build()))
.build())
.weight(123)
.build())
.section(evaluationFormSectionProperty_)
.build()))
.scoreThresholds(List.of(EvaluationFormScoreThresholdProperty.builder()
.performanceCategory("performanceCategory")
// the properties below are optional
.maxScorePercentage(123)
.minScorePercentage(123)
.build()))
.weight(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEvaluationForm.EvaluationFormSectionPropertystatic final classAn implementation forCfnEvaluationForm.EvaluationFormSectionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe instructions of the section.default ObjectThe flag to exclude the section from scoring.default ObjectgetItems()The items of the section.getRefId()The identifier of the section.default ObjectThe score thresholds for performance categories.getTitle()The title of the section.default NumberThe scoring weight of the section.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
getInstructions
The instructions of the section.- See Also:
-
getIsExcludedFromScoring
The flag to exclude the section from scoring.Returns union: either
BooleanorIResolvable- See Also:
-
getItems
The items of the section.Minimum : 1
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluationForm.EvaluationFormItemProperty>- See Also:
-
getScoreThresholds
The score thresholds for performance categories.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluationForm.EvaluationFormScoreThresholdProperty>- See Also:
-
getWeight
The scoring weight of the section.Minimum : 0
Maximum : 100
- See Also:
-
builder
-