@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.
|
EventBridgeActionDefinition |
getEventBridgeAction()
Information about the EventBridge action.
|
SendNotificationActionDefinition |
getSendNotificationAction()
Information about the send notification action.
|
TaskActionDefinition |
getTaskAction()
Information about the task 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 |
setEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
|
void |
setSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
|
void |
setTaskAction(TaskActionDefinition taskAction)
Information about the task 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 |
withEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
|
RuleAction |
withSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
|
RuleAction |
withTaskAction(TaskActionDefinition taskAction)
Information about the task action.
|
public void setActionType(String actionType)
The type of action that creates a rule.
actionType
- The type of action that creates a rule.ActionType
public String getActionType()
The type of action that creates a rule.
ActionType
public RuleAction withActionType(String actionType)
The type of action that creates a rule.
actionType
- The type of action that creates a rule.ActionType
public RuleAction withActionType(ActionType actionType)
The type of action that creates a rule.
actionType
- The type of action that creates a rule.ActionType
public 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
|
OnSalesforceCaseCreate
public 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
|
OnSalesforceCaseCreate
public 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
|
OnSalesforceCaseCreate
public void setEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
eventBridgeAction
- Information about the EventBridge action.public EventBridgeActionDefinition getEventBridgeAction()
Information about the EventBridge action.
public RuleAction withEventBridgeAction(EventBridgeActionDefinition eventBridgeAction)
Information about the EventBridge action.
eventBridgeAction
- Information about the EventBridge action.public void setAssignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
assignContactCategoryAction
- Information about the contact category action.public AssignContactCategoryActionDefinition getAssignContactCategoryAction()
Information about the contact category action.
public RuleAction withAssignContactCategoryAction(AssignContactCategoryActionDefinition assignContactCategoryAction)
Information about the contact category action.
assignContactCategoryAction
- Information about the contact category action.public void setSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
sendNotificationAction
- Information about the send notification action.public SendNotificationActionDefinition getSendNotificationAction()
Information about the send notification action.
public RuleAction withSendNotificationAction(SendNotificationActionDefinition sendNotificationAction)
Information about the send notification action.
sendNotificationAction
- Information about the send notification action.public String toString()
toString
in class Object
Object.toString()
public RuleAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.