Interface RuleAction.Builder

    • Method Detail

      • actionType

        RuleAction.Builder actionType​(String actionType)

        The type of action that creates a rule.

        Parameters:
        actionType - The type of action that creates a rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionType, ActionType
      • actionType

        RuleAction.Builder actionType​(ActionType actionType)

        The type of action that creates a rule.

        Parameters:
        actionType - The type of action that creates a rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionType, ActionType
      • taskAction

        RuleAction.Builder taskAction​(TaskActionDefinition taskAction)

        Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

        Parameters:
        taskAction - Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventBridgeAction

        RuleAction.Builder eventBridgeAction​(EventBridgeActionDefinition eventBridgeAction)

        Information about the EventBridge action.

        Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

        Parameters:
        eventBridgeAction - Information about the EventBridge action.

        Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assignContactCategoryAction

        RuleAction.Builder assignContactCategoryAction​(AssignContactCategoryActionDefinition assignContactCategoryAction)

        Information about the contact category action.

        Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

        Parameters:
        assignContactCategoryAction - Information about the contact category action.

        Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sendNotificationAction

        RuleAction.Builder sendNotificationAction​(SendNotificationActionDefinition sendNotificationAction)

        Information about the send notification action.

        Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

        Parameters:
        sendNotificationAction - Information about the send notification action.

        Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

        Returns:
        Returns a reference to this object so that method calls can be chained together.