Class CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty>
- Enclosing interface:
CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty
@Stability(Stable)
public static final class CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.optionRefId
(String optionRefId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
category
@Stability(Stable) public CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.Builder category(String category) Sets the value ofCfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.getCategory()
- Parameters:
category
- The category name, as defined in Rules. This parameter is required. Minimum : 1Maximum : 50
- Returns:
this
-
condition
@Stability(Stable) public CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.Builder condition(String condition) Sets the value ofCfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.getCondition()
- Parameters:
condition
- The condition to apply for the automation option. This parameter is required. If the condition is PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT, then the option is applied when the contact data does not include the category.Allowed values :
PRESENT
|NOT_PRESENT
Maximum : 50
- Returns:
this
-
optionRefId
@Stability(Stable) public CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.Builder optionRefId(String optionRefId) Sets the value ofCfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty.getOptionRefId()
- Parameters:
optionRefId
- The identifier of the answer option. An identifier must be unique within the question. This parameter is required. Length Constraints : Minimum length of 1. Maximum length of 40.- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty>
- Returns:
- a new instance of
CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-