Struct aws_sdk_connect::model::rule_action::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RuleAction
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn action_type(self, input: ActionType) -> Self
pub fn action_type(self, input: ActionType) -> Self
The type of action that creates a rule.
sourcepub fn set_action_type(self, input: Option<ActionType>) -> Self
pub fn set_action_type(self, input: Option<ActionType>) -> Self
The type of action that creates a rule.
sourcepub fn task_action(self, input: TaskActionDefinition) -> Self
pub fn task_action(self, input: TaskActionDefinition) -> Self
Information about the task action. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn set_task_action(self, input: Option<TaskActionDefinition>) -> Self
pub fn set_task_action(self, input: Option<TaskActionDefinition>) -> Self
Information about the task action. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn event_bridge_action(self, input: EventBridgeActionDefinition) -> Self
pub fn event_bridge_action(self, input: EventBridgeActionDefinition) -> Self
Information about the EventBridge action.
sourcepub fn set_event_bridge_action(
self,
input: Option<EventBridgeActionDefinition>
) -> Self
pub fn set_event_bridge_action(
self,
input: Option<EventBridgeActionDefinition>
) -> Self
Information about the EventBridge action.
sourcepub fn assign_contact_category_action(
self,
input: AssignContactCategoryActionDefinition
) -> Self
pub fn assign_contact_category_action(
self,
input: AssignContactCategoryActionDefinition
) -> Self
Information about the contact category action.
sourcepub fn set_assign_contact_category_action(
self,
input: Option<AssignContactCategoryActionDefinition>
) -> Self
pub fn set_assign_contact_category_action(
self,
input: Option<AssignContactCategoryActionDefinition>
) -> Self
Information about the contact category action.
sourcepub fn send_notification_action(
self,
input: SendNotificationActionDefinition
) -> Self
pub fn send_notification_action(
self,
input: SendNotificationActionDefinition
) -> Self
Information about the send notification action.
sourcepub fn set_send_notification_action(
self,
input: Option<SendNotificationActionDefinition>
) -> Self
pub fn set_send_notification_action(
self,
input: Option<SendNotificationActionDefinition>
) -> Self
Information about the send notification action.
sourcepub fn build(self) -> RuleAction
pub fn build(self) -> RuleAction
Consumes the builder and constructs a RuleAction
.