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.BuilderassignContactCategoryAction(Consumer<AssignContactCategoryActionDefinition.Builder> assignContactCategoryAction) Information about the contact category action.assignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction) Information about the contact category action.default RuleAction.BuildercreateCaseAction(Consumer<CreateCaseActionDefinition.Builder> createCaseAction) Information about the create case action.createCaseAction(CreateCaseActionDefinition createCaseAction) Information about the create case action.default RuleAction.BuilderendAssociatedTasksAction(Consumer<EndAssociatedTasksActionDefinition.Builder> endAssociatedTasksAction) Information about the end associated tasks action.endAssociatedTasksAction(EndAssociatedTasksActionDefinition endAssociatedTasksAction) Information about the end associated tasks action.default RuleAction.BuildereventBridgeAction(Consumer<EventBridgeActionDefinition.Builder> eventBridgeAction) Information about the EventBridge action.eventBridgeAction(EventBridgeActionDefinition eventBridgeAction) Information about the EventBridge action.default RuleAction.BuildersendNotificationAction(Consumer<SendNotificationActionDefinition.Builder> sendNotificationAction) Information about the send notification action.sendNotificationAction(SendNotificationActionDefinition sendNotificationAction) Information about the send notification action.default RuleAction.BuildersubmitAutoEvaluationAction(Consumer<SubmitAutoEvaluationActionDefinition.Builder> submitAutoEvaluationAction) Information about the submit automated evaluation action.submitAutoEvaluationAction(SubmitAutoEvaluationActionDefinition submitAutoEvaluationAction) Information about the submit automated evaluation action.default RuleAction.BuildertaskAction(Consumer<TaskActionDefinition.Builder> taskAction) Information about the task action.taskAction(TaskActionDefinition taskAction) Information about the task action.default RuleAction.BuilderupdateCaseAction(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
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
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:
-
eventBridgeAction
Information about the EventBridge action.
Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdate- Parameters:
eventBridgeAction- Information about the EventBridge action.Supported only for
TriggerEventSourcevalues: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 theTriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|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:
-
assignContactCategoryAction
RuleAction.Builder assignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction) Information about the contact category action.
Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|OnPostChatAnalysisAvailable|OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate- Parameters:
assignContactCategoryAction- Information about the contact category action.Supported only for
TriggerEventSourcevalues: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 theTriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|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:
-
sendNotificationAction
Information about the send notification action.
Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|OnPostChatAnalysisAvailable|OnContactEvaluationSubmit|OnMetricDataUpdate- Parameters:
sendNotificationAction- Information about the send notification action.Supported only for
TriggerEventSourcevalues: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 theTriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnRealTimeCallAnalysisAvailable|OnRealTimeChatAnalysisAvailable|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:
-
createCaseAction
Information about the create case action.
Supported only for
TriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnPostChatAnalysisAvailable.- Parameters:
createCaseAction- Information about the create case action.Supported only for
TriggerEventSourcevalues: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 theTriggerEventSourcevalues:OnPostCallAnalysisAvailable|OnPostChatAnalysisAvailable.CreateCaseActionDefinition.Builderavoiding the need to create one manually viaCreateCaseActionDefinition.builder().When the
Consumercompletes,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
TriggerEventSourcevalues:OnCaseCreate|OnCaseUpdate.- Parameters:
updateCaseAction- Information about the update case action.Supported only for
TriggerEventSourcevalues: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 theTriggerEventSourcevalues:OnCaseCreate|OnCaseUpdate.UpdateCaseActionDefinition.Builderavoiding the need to create one manually viaUpdateCaseActionDefinition.builder().When the
Consumercompletes,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:
-
endAssociatedTasksAction
RuleAction.Builder endAssociatedTasksAction(EndAssociatedTasksActionDefinition endAssociatedTasksAction) Information about the end associated tasks action.
Supported only for
TriggerEventSourcevalues:OnCaseUpdate.- Parameters:
endAssociatedTasksAction- Information about the end associated tasks action.Supported only for
TriggerEventSourcevalues: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 theTriggerEventSourcevalues:OnCaseUpdate.EndAssociatedTasksActionDefinition.Builderavoiding the need to create one manually viaEndAssociatedTasksActionDefinition.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSubmitAutoEvaluationActionDefinition.builder().When the
Consumercompletes,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:
-