Interface RuleAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleAction.Builder,RuleAction>,SdkBuilder<RuleAction.Builder,RuleAction>,SdkPojo
- Enclosing class:
- RuleAction
public static interface RuleAction.Builder extends SdkPojo, CopyableBuilder<RuleAction.Builder,RuleAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RuleAction.BuilderactionType(String actionType)The type of action that creates a rule.RuleAction.BuilderactionType(ActionType actionType)The type of action that creates a rule.default RuleAction.BuilderassignContactCategoryAction(Consumer<AssignContactCategoryActionDefinition.Builder> assignContactCategoryAction)Information about the contact category action.RuleAction.BuilderassignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)Information about the contact category action.default RuleAction.BuildereventBridgeAction(Consumer<EventBridgeActionDefinition.Builder> eventBridgeAction)Information about the EventBridge action.RuleAction.BuildereventBridgeAction(EventBridgeActionDefinition eventBridgeAction)Information about the EventBridge action.default RuleAction.BuildersendNotificationAction(Consumer<SendNotificationActionDefinition.Builder> sendNotificationAction)Information about the send notification action.RuleAction.BuildersendNotificationAction(SendNotificationActionDefinition sendNotificationAction)Information about the send notification action.default RuleAction.BuildertaskAction(Consumer<TaskActionDefinition.Builder> taskAction)Information about the task action.RuleAction.BuildertaskAction(TaskActionDefinition taskAction)Information about the task action.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
TriggerEventSourceis one of the following values:OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate- Parameters:
taskAction- Information about the task action. This field is required ifTriggerEventSourceis one of the following values:OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskAction
default RuleAction.Builder taskAction(Consumer<TaskActionDefinition.Builder> taskAction)
Information about the task action. This field is required if
This is a convenience method that creates an instance of theTriggerEventSourceis one of the following values:OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreateTaskActionDefinition.Builderavoiding the need to create one manually viaTaskActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskAction(TaskActionDefinition).- Parameters:
taskAction- a consumer that will call methods onTaskActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taskAction(TaskActionDefinition)
-
eventBridgeAction
RuleAction.Builder eventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdate- Parameters:
eventBridgeAction- Information about the EventBridge action.Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdate- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBridgeAction
default RuleAction.Builder eventBridgeAction(Consumer<EventBridgeActionDefinition.Builder> eventBridgeAction)
Information about the EventBridge action.
Supported only for
This is a convenience method that creates an instance of theTriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdateEventBridgeActionDefinition.Builderavoiding the need to create one manually viaEventBridgeActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventBridgeAction(EventBridgeActionDefinition).- Parameters:
eventBridgeAction- a consumer that will call methods onEventBridgeActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventBridgeAction(EventBridgeActionDefinition)
-
assignContactCategoryAction
RuleAction.Builder assignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate- Parameters:
assignContactCategoryAction- Information about the contact category action.Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignContactCategoryAction
default RuleAction.Builder assignContactCategoryAction(Consumer<AssignContactCategoryActionDefinition.Builder> assignContactCategoryAction)
Information about the contact category action.
Supported only for
This is a convenience method that creates an instance of theTriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreateAssignContactCategoryActionDefinition.Builderavoiding the need to create one manually viaAssignContactCategoryActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassignContactCategoryAction(AssignContactCategoryActionDefinition).- Parameters:
assignContactCategoryAction- a consumer that will call methods onAssignContactCategoryActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
assignContactCategoryAction(AssignContactCategoryActionDefinition)
-
sendNotificationAction
RuleAction.Builder sendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdate- Parameters:
sendNotificationAction- Information about the send notification action.Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdate- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sendNotificationAction
default RuleAction.Builder sendNotificationAction(Consumer<SendNotificationActionDefinition.Builder> sendNotificationAction)
Information about the send notification action.
Supported only for
This is a convenience method that creates an instance of theTriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdateSendNotificationActionDefinition.Builderavoiding the need to create one manually viaSendNotificationActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosendNotificationAction(SendNotificationActionDefinition).- Parameters:
sendNotificationAction- a consumer that will call methods onSendNotificationActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sendNotificationAction(SendNotificationActionDefinition)
-
-