public static interface RuleAction.Builder extends SdkPojo, CopyableBuilder<RuleAction.Builder,RuleAction>
| Modifier and Type | Method and Description |
|---|---|
RuleAction.Builder |
actionType(ActionType actionType)
The type of action that creates a rule.
|
RuleAction.Builder |
actionType(String actionType)
The type of action that creates a rule.
|
RuleAction.Builder |
assignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
|
default RuleAction.Builder |
assignContactCategoryAction(Consumer<AssignContactCategoryActionDefinition.Builder> assignContactCategoryAction)
Information about the contact category action.
|
default RuleAction.Builder |
eventBridgeAction(Consumer<EventBridgeActionDefinition.Builder> eventBridgeAction)
Information about the EventBridge action.
|
RuleAction.Builder |
eventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
|
default RuleAction.Builder |
sendNotificationAction(Consumer<SendNotificationActionDefinition.Builder> sendNotificationAction)
Information about the send notification action.
|
RuleAction.Builder |
sendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
|
default RuleAction.Builder |
taskAction(Consumer<TaskActionDefinition.Builder> taskAction)
Information about the task action.
|
RuleAction.Builder |
taskAction(TaskActionDefinition taskAction)
Information about the task action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuleAction.Builder actionType(String actionType)
The type of action that creates a rule.
actionType - The type of action that creates a rule.ActionType,
ActionTypeRuleAction.Builder actionType(ActionType actionType)
The type of action that creates a rule.
actionType - The type of action that creates a rule.ActionType,
ActionTypeRuleAction.Builder taskAction(TaskActionDefinition taskAction)
Information about the task action. This field is required if TriggerEventSource is one of the
following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
taskAction - Information about the task action. This field is required if TriggerEventSource is one of
the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreatedefault RuleAction.Builder taskAction(Consumer<TaskActionDefinition.Builder> taskAction)
Information about the task action. This field is required if TriggerEventSource is one of the
following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
TaskActionDefinition.Builder avoiding
the need to create one manually via TaskActionDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to taskAction(TaskActionDefinition).
taskAction - a consumer that will call methods on TaskActionDefinition.BuildertaskAction(TaskActionDefinition)RuleAction.Builder eventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
eventBridgeAction - Information about the EventBridge action.default RuleAction.Builder eventBridgeAction(Consumer<EventBridgeActionDefinition.Builder> eventBridgeAction)
Information about the EventBridge action.
This is a convenience method that creates an instance of theEventBridgeActionDefinition.Builder
avoiding the need to create one manually via EventBridgeActionDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to eventBridgeAction(EventBridgeActionDefinition).
eventBridgeAction - a consumer that will call methods on EventBridgeActionDefinition.BuildereventBridgeAction(EventBridgeActionDefinition)RuleAction.Builder assignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
assignContactCategoryAction - Information about the contact category action.default RuleAction.Builder assignContactCategoryAction(Consumer<AssignContactCategoryActionDefinition.Builder> assignContactCategoryAction)
Information about the contact category action.
This is a convenience method that creates an instance of theAssignContactCategoryActionDefinition.Builder avoiding the need to create one manually via
AssignContactCategoryActionDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
assignContactCategoryAction(AssignContactCategoryActionDefinition).
assignContactCategoryAction - a consumer that will call methods on AssignContactCategoryActionDefinition.BuilderassignContactCategoryAction(AssignContactCategoryActionDefinition)RuleAction.Builder sendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
sendNotificationAction - Information about the send notification action.default RuleAction.Builder sendNotificationAction(Consumer<SendNotificationActionDefinition.Builder> sendNotificationAction)
Information about the send notification action.
This is a convenience method that creates an instance of theSendNotificationActionDefinition.Builder
avoiding the need to create one manually via SendNotificationActionDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to sendNotificationAction(SendNotificationActionDefinition).
sendNotificationAction - a consumer that will call methods on SendNotificationActionDefinition.BuildersendNotificationAction(SendNotificationActionDefinition)Copyright © 2023. All rights reserved.