@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleAction extends Object implements Serializable, Cloneable, StructuredPojo
Information about the action to be performed when a rule is triggered.
| Constructor and Description |
|---|
RuleAction() |
| Modifier and Type | Method and Description |
|---|---|
RuleAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionType()
The type of action that creates a rule.
|
AssignContactCategoryActionDefinition |
getAssignContactCategoryAction()
Information about the contact category action.
|
CreateCaseActionDefinition |
getCreateCaseAction()
Information about the create case action.
|
EndAssociatedTasksActionDefinition |
getEndAssociatedTasksAction()
Information about the end associated tasks action.
|
EventBridgeActionDefinition |
getEventBridgeAction()
Information about the EventBridge action.
|
SendNotificationActionDefinition |
getSendNotificationAction()
Information about the send notification action.
|
SubmitAutoEvaluationActionDefinition |
getSubmitAutoEvaluationAction()
Information about the submit automated evaluation action.
|
TaskActionDefinition |
getTaskAction()
Information about the task action.
|
UpdateCaseActionDefinition |
getUpdateCaseAction()
Information about the update case action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActionType(String actionType)
The type of action that creates a rule.
|
void |
setAssignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
|
void |
setCreateCaseAction(CreateCaseActionDefinition createCaseAction)
Information about the create case action.
|
void |
setEndAssociatedTasksAction(EndAssociatedTasksActionDefinition endAssociatedTasksAction)
Information about the end associated tasks action.
|
void |
setEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
|
void |
setSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
|
void |
setSubmitAutoEvaluationAction(SubmitAutoEvaluationActionDefinition submitAutoEvaluationAction)
Information about the submit automated evaluation action.
|
void |
setTaskAction(TaskActionDefinition taskAction)
Information about the task action.
|
void |
setUpdateCaseAction(UpdateCaseActionDefinition updateCaseAction)
Information about the update case action.
|
String |
toString()
Returns a string representation of this object.
|
RuleAction |
withActionType(ActionType actionType)
The type of action that creates a rule.
|
RuleAction |
withActionType(String actionType)
The type of action that creates a rule.
|
RuleAction |
withAssignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
|
RuleAction |
withCreateCaseAction(CreateCaseActionDefinition createCaseAction)
Information about the create case action.
|
RuleAction |
withEndAssociatedTasksAction(EndAssociatedTasksActionDefinition endAssociatedTasksAction)
Information about the end associated tasks action.
|
RuleAction |
withEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
|
RuleAction |
withSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
|
RuleAction |
withSubmitAutoEvaluationAction(SubmitAutoEvaluationActionDefinition submitAutoEvaluationAction)
Information about the submit automated evaluation action.
|
RuleAction |
withTaskAction(TaskActionDefinition taskAction)
Information about the task action.
|
RuleAction |
withUpdateCaseAction(UpdateCaseActionDefinition updateCaseAction)
Information about the update case action.
|
public void setActionType(String actionType)
The type of action that creates a rule.
actionType - The type of action that creates a rule.ActionTypepublic String getActionType()
The type of action that creates a rule.
ActionTypepublic RuleAction withActionType(String actionType)
The type of action that creates a rule.
actionType - The type of action that creates a rule.ActionTypepublic RuleAction withActionType(ActionType actionType)
The type of action that creates a rule.
actionType - The type of action that creates a rule.ActionTypepublic void setTaskAction(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 |
OnSalesforceCaseCreatepublic TaskActionDefinition getTaskAction()
Information about the task action. This field is required if TriggerEventSource is one of the
following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
TriggerEventSource is one of
the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreatepublic RuleAction withTaskAction(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 |
OnSalesforceCaseCreatepublic void setEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
eventBridgeAction - Information about the EventBridge action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
public EventBridgeActionDefinition getEventBridgeAction()
Information about the EventBridge action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
public RuleAction withEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
eventBridgeAction - Information about the EventBridge action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
public void setAssignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnZendeskTicketCreate |
OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
assignContactCategoryAction - Information about the contact category action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnZendeskTicketCreate |
OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
public AssignContactCategoryActionDefinition getAssignContactCategoryAction()
Information about the contact category action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnZendeskTicketCreate |
OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnZendeskTicketCreate |
OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
public RuleAction withAssignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnZendeskTicketCreate |
OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
assignContactCategoryAction - Information about the contact category action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnZendeskTicketCreate |
OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
public void setSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
sendNotificationAction - Information about the send notification action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
public SendNotificationActionDefinition getSendNotificationAction()
Information about the send notification action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
public RuleAction withSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
sendNotificationAction - Information about the send notification action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable |
OnPostChatAnalysisAvailable | OnContactEvaluationSubmit |
OnMetricDataUpdate
public void setCreateCaseAction(CreateCaseActionDefinition createCaseAction)
Information about the create case action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnPostChatAnalysisAvailable.
createCaseAction - Information about the create case action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnPostChatAnalysisAvailable.
public CreateCaseActionDefinition getCreateCaseAction()
Information about the create case action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnPostChatAnalysisAvailable.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnPostChatAnalysisAvailable.
public RuleAction withCreateCaseAction(CreateCaseActionDefinition createCaseAction)
Information about the create case action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnPostChatAnalysisAvailable.
createCaseAction - Information about the create case action.
Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable |
OnPostChatAnalysisAvailable.
public void setUpdateCaseAction(UpdateCaseActionDefinition updateCaseAction)
Information about the update case action.
Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.
updateCaseAction - Information about the update case action.
Supported only for TriggerEventSource values: OnCaseCreate |
OnCaseUpdate.
public UpdateCaseActionDefinition getUpdateCaseAction()
Information about the update case action.
Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.
Supported only for TriggerEventSource values: OnCaseCreate |
OnCaseUpdate.
public RuleAction withUpdateCaseAction(UpdateCaseActionDefinition updateCaseAction)
Information about the update case action.
Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.
updateCaseAction - Information about the update case action.
Supported only for TriggerEventSource values: OnCaseCreate |
OnCaseUpdate.
public void setEndAssociatedTasksAction(EndAssociatedTasksActionDefinition endAssociatedTasksAction)
Information about the end associated tasks action.
Supported only for TriggerEventSource values: OnCaseUpdate.
endAssociatedTasksAction - Information about the end associated tasks action.
Supported only for TriggerEventSource values: OnCaseUpdate.
public EndAssociatedTasksActionDefinition getEndAssociatedTasksAction()
Information about the end associated tasks action.
Supported only for TriggerEventSource values: OnCaseUpdate.
Supported only for TriggerEventSource values: OnCaseUpdate.
public RuleAction withEndAssociatedTasksAction(EndAssociatedTasksActionDefinition endAssociatedTasksAction)
Information about the end associated tasks action.
Supported only for TriggerEventSource values: OnCaseUpdate.
endAssociatedTasksAction - Information about the end associated tasks action.
Supported only for TriggerEventSource values: OnCaseUpdate.
public void setSubmitAutoEvaluationAction(SubmitAutoEvaluationActionDefinition submitAutoEvaluationAction)
Information about the submit automated evaluation action.
submitAutoEvaluationAction - Information about the submit automated evaluation action.public SubmitAutoEvaluationActionDefinition getSubmitAutoEvaluationAction()
Information about the submit automated evaluation action.
public RuleAction withSubmitAutoEvaluationAction(SubmitAutoEvaluationActionDefinition submitAutoEvaluationAction)
Information about the submit automated evaluation action.
submitAutoEvaluationAction - Information about the submit automated evaluation action.public String toString()
toString in class ObjectObject.toString()public RuleAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.