Interface SingleSelectQuestionRuleCategoryAutomation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SingleSelectQuestionRuleCategoryAutomation.Builder,,SingleSelectQuestionRuleCategoryAutomation> SdkBuilder<SingleSelectQuestionRuleCategoryAutomation.Builder,,SingleSelectQuestionRuleCategoryAutomation> SdkPojo
- Enclosing class:
SingleSelectQuestionRuleCategoryAutomation
-
Method Summary
Modifier and TypeMethodDescriptionThe category name, as defined in Rules.The condition to apply for the automation option.The condition to apply for the automation option.optionRefId(String optionRefId) The identifier of the answer option.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
category
The category name, as defined in Rules. This is equivalent to a conversational analytics rule with the same name: the automation option is applied based on whether that rule matched the contact. For more information about creating rules, see Create rules in the Connect Customer Administrator Guide.
- Parameters:
category- The category name, as defined in Rules. This is equivalent to a conversational analytics rule with the same name: the automation option is applied based on whether that rule matched the contact. For more information about creating rules, see Create rules in the Connect Customer Administrator Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition to apply for the automation option. If the condition is
PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition isNOT_PRESENT, then the option is applied when the contact data does not include the category.- Parameters:
condition- The condition to apply for the automation option. If the condition isPRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition isNOT_PRESENT, then the option is applied when the contact data does not include the category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
condition
SingleSelectQuestionRuleCategoryAutomation.Builder condition(SingleSelectQuestionRuleCategoryAutomationCondition condition) The condition to apply for the automation option. If the condition is
PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition isNOT_PRESENT, then the option is applied when the contact data does not include the category.- Parameters:
condition- The condition to apply for the automation option. If the condition isPRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition isNOT_PRESENT, then the option is applied when the contact data does not include the category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optionRefId
The identifier of the answer option.
- Parameters:
optionRefId- The identifier of the answer option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-