asRuleCategory
Casts this EvaluationFormSingleSelectQuestionAutomationOption as a RuleCategory and retrieves its aws.sdk.kotlin.services.connect.model.SingleSelectQuestionRuleCategoryAutomation value. Throws an exception if the EvaluationFormSingleSelectQuestionAutomationOption is not a RuleCategory.