Interface RuleAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleAction.Builder,
,RuleAction> SdkBuilder<RuleAction.Builder,
,RuleAction> SdkPojo
- Enclosing class:
RuleAction
-
Method Summary
Modifier and TypeMethodDescriptionactionType
(String actionType) The type of action that creates a rule.actionType
(ActionType actionType) The type of action that creates a rule.default RuleAction.Builder
assignContactCategoryAction
(Consumer<AssignContactCategoryActionDefinition.Builder> assignContactCategoryAction) Information about the contact category action.assignContactCategoryAction
(AssignContactCategoryActionDefinition assignContactCategoryAction) Information about the contact category action.default RuleAction.Builder
assignSlaAction
(Consumer<AssignSlaActionDefinition.Builder> assignSlaAction) Information about the assign SLA action.assignSlaAction
(AssignSlaActionDefinition assignSlaAction) Information about the assign SLA action.default RuleAction.Builder
createCaseAction
(Consumer<CreateCaseActionDefinition.Builder> createCaseAction) Information about the create case action.createCaseAction
(CreateCaseActionDefinition createCaseAction) Information about the create case action.default RuleAction.Builder
endAssociatedTasksAction
(Consumer<EndAssociatedTasksActionDefinition.Builder> endAssociatedTasksAction) Information about the end associated tasks action.endAssociatedTasksAction
(EndAssociatedTasksActionDefinition endAssociatedTasksAction) Information about the end associated tasks action.default RuleAction.Builder
eventBridgeAction
(Consumer<EventBridgeActionDefinition.Builder> eventBridgeAction) Information about the EventBridge action.eventBridgeAction
(EventBridgeActionDefinition eventBridgeAction) Information about the EventBridge action.default RuleAction.Builder
sendNotificationAction
(Consumer<SendNotificationActionDefinition.Builder> sendNotificationAction) Information about the send notification action.sendNotificationAction
(SendNotificationActionDefinition sendNotificationAction) Information about the send notification action.default RuleAction.Builder
submitAutoEvaluationAction
(Consumer<SubmitAutoEvaluationActionDefinition.Builder> submitAutoEvaluationAction) Information about the submit automated evaluation action.submitAutoEvaluationAction
(SubmitAutoEvaluationActionDefinition submitAutoEvaluationAction) Information about the submit automated evaluation action.default RuleAction.Builder
taskAction
(Consumer<TaskActionDefinition.Builder> taskAction) Information about the task action.taskAction
(TaskActionDefinition taskAction) Information about the task action.default RuleAction.Builder
updateCaseAction
(Consumer<UpdateCaseActionDefinition.Builder> updateCaseAction) Information about the update case action.updateCaseAction
(UpdateCaseActionDefinition updateCaseAction) Information about the update case 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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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 ifTriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskAction
Information about the task action. This field is required if
This is a convenience method that creates an instance of theTriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
TaskActionDefinition.Builder
avoiding the need to create one manually viaTaskActionDefinition.builder()
.When the
Consumer
completes,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:
-
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.
-
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 theTriggerEventSource
values:OnPostCallAnalysisAvailable
|OnRealTimeCallAnalysisAvailable
|OnRealTimeChatAnalysisAvailable
|OnPostChatAnalysisAvailable
|OnContactEvaluationSubmit
|OnMetricDataUpdate
EventBridgeActionDefinition.Builder
avoiding the need to create one manually viaEventBridgeActionDefinition.builder()
.When the
Consumer
completes,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:
-
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.
-
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 theTriggerEventSource
values:OnPostCallAnalysisAvailable
|OnRealTimeCallAnalysisAvailable
|OnRealTimeChatAnalysisAvailable
|OnPostChatAnalysisAvailable
|OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
AssignContactCategoryActionDefinition.Builder
avoiding the need to create one manually viaAssignContactCategoryActionDefinition.builder()
.When the
Consumer
completes,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:
-
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.
-
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 theTriggerEventSource
values:OnPostCallAnalysisAvailable
|OnRealTimeCallAnalysisAvailable
|OnRealTimeChatAnalysisAvailable
|OnPostChatAnalysisAvailable
|OnContactEvaluationSubmit
|OnMetricDataUpdate
SendNotificationActionDefinition.Builder
avoiding the need to create one manually viaSendNotificationActionDefinition.builder()
.When the
Consumer
completes,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:
-
createCaseAction
Information about the create case action.
Supported only for
TriggerEventSource
values:OnPostCallAnalysisAvailable
|OnPostChatAnalysisAvailable
.- Parameters:
createCaseAction
- Information about the create case action.Supported only for
TriggerEventSource
values:OnPostCallAnalysisAvailable
|OnPostChatAnalysisAvailable
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createCaseAction
default RuleAction.Builder createCaseAction(Consumer<CreateCaseActionDefinition.Builder> createCaseAction) Information about the create case action.
Supported only for
This is a convenience method that creates an instance of theTriggerEventSource
values:OnPostCallAnalysisAvailable
|OnPostChatAnalysisAvailable
.CreateCaseActionDefinition.Builder
avoiding the need to create one manually viaCreateCaseActionDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreateCaseAction(CreateCaseActionDefinition)
.- Parameters:
createCaseAction
- a consumer that will call methods onCreateCaseActionDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateCaseAction
Information about the update case action.
Supported only for
TriggerEventSource
values:OnCaseCreate
|OnCaseUpdate
.- Parameters:
updateCaseAction
- Information about the update case action.Supported only for
TriggerEventSource
values:OnCaseCreate
|OnCaseUpdate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateCaseAction
default RuleAction.Builder updateCaseAction(Consumer<UpdateCaseActionDefinition.Builder> updateCaseAction) Information about the update case action.
Supported only for
This is a convenience method that creates an instance of theTriggerEventSource
values:OnCaseCreate
|OnCaseUpdate
.UpdateCaseActionDefinition.Builder
avoiding the need to create one manually viaUpdateCaseActionDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateCaseAction(UpdateCaseActionDefinition)
.- Parameters:
updateCaseAction
- a consumer that will call methods onUpdateCaseActionDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assignSlaAction
Information about the assign SLA action.
- Parameters:
assignSlaAction
- Information about the assign SLA action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignSlaAction
default RuleAction.Builder assignSlaAction(Consumer<AssignSlaActionDefinition.Builder> assignSlaAction) Information about the assign SLA action.
This is a convenience method that creates an instance of theAssignSlaActionDefinition.Builder
avoiding the need to create one manually viaAssignSlaActionDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassignSlaAction(AssignSlaActionDefinition)
.- Parameters:
assignSlaAction
- a consumer that will call methods onAssignSlaActionDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endAssociatedTasksAction
RuleAction.Builder endAssociatedTasksAction(EndAssociatedTasksActionDefinition endAssociatedTasksAction) Information about the end associated tasks action.
Supported only for
TriggerEventSource
values:OnCaseUpdate
.- Parameters:
endAssociatedTasksAction
- Information about the end associated tasks action.Supported only for
TriggerEventSource
values:OnCaseUpdate
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endAssociatedTasksAction
default RuleAction.Builder endAssociatedTasksAction(Consumer<EndAssociatedTasksActionDefinition.Builder> endAssociatedTasksAction) Information about the end associated tasks action.
Supported only for
This is a convenience method that creates an instance of theTriggerEventSource
values:OnCaseUpdate
.EndAssociatedTasksActionDefinition.Builder
avoiding the need to create one manually viaEndAssociatedTasksActionDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendAssociatedTasksAction(EndAssociatedTasksActionDefinition)
.- Parameters:
endAssociatedTasksAction
- a consumer that will call methods onEndAssociatedTasksActionDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
submitAutoEvaluationAction
RuleAction.Builder submitAutoEvaluationAction(SubmitAutoEvaluationActionDefinition submitAutoEvaluationAction) Information about the submit automated evaluation action.
- Parameters:
submitAutoEvaluationAction
- Information about the submit automated evaluation action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submitAutoEvaluationAction
default RuleAction.Builder submitAutoEvaluationAction(Consumer<SubmitAutoEvaluationActionDefinition.Builder> submitAutoEvaluationAction) Information about the submit automated evaluation action.
This is a convenience method that creates an instance of theSubmitAutoEvaluationActionDefinition.Builder
avoiding the need to create one manually viaSubmitAutoEvaluationActionDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubmitAutoEvaluationAction(SubmitAutoEvaluationActionDefinition)
.- Parameters:
submitAutoEvaluationAction
- a consumer that will call methods onSubmitAutoEvaluationActionDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-