Struct aws_sdk_connect::types::builders::RuleActionBuilder
source · #[non_exhaustive]pub struct RuleActionBuilder { /* private fields */ }
Expand description
A builder for RuleAction
.
Implementations§
source§impl RuleActionBuilder
impl RuleActionBuilder
sourcepub fn action_type(self, input: ActionType) -> Self
pub fn action_type(self, input: ActionType) -> Self
The type of action that creates a rule.
This field is required.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 get_action_type(&self) -> &Option<ActionType>
pub fn get_action_type(&self) -> &Option<ActionType>
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 get_task_action(&self) -> &Option<TaskActionDefinition>
pub fn get_task_action(&self) -> &Option<TaskActionDefinition>
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.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
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.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
sourcepub fn get_event_bridge_action(&self) -> &Option<EventBridgeActionDefinition>
pub fn get_event_bridge_action(&self) -> &Option<EventBridgeActionDefinition>
Information about the EventBridge action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
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.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
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.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn get_assign_contact_category_action(
&self
) -> &Option<AssignContactCategoryActionDefinition>
pub fn get_assign_contact_category_action( &self ) -> &Option<AssignContactCategoryActionDefinition>
Information about the contact category action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn send_notification_action(
self,
input: SendNotificationActionDefinition
) -> Self
pub fn send_notification_action( self, input: SendNotificationActionDefinition ) -> Self
Information about the send notification action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
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.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
sourcepub fn get_send_notification_action(
&self
) -> &Option<SendNotificationActionDefinition>
pub fn get_send_notification_action( &self ) -> &Option<SendNotificationActionDefinition>
Information about the send notification action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnRealTimeChatAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
sourcepub fn create_case_action(self, input: CreateCaseActionDefinition) -> Self
pub fn create_case_action(self, input: CreateCaseActionDefinition) -> Self
Information about the create case action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnPostChatAnalysisAvailable
.
sourcepub fn set_create_case_action(
self,
input: Option<CreateCaseActionDefinition>
) -> Self
pub fn set_create_case_action( self, input: Option<CreateCaseActionDefinition> ) -> Self
Information about the create case action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnPostChatAnalysisAvailable
.
sourcepub fn get_create_case_action(&self) -> &Option<CreateCaseActionDefinition>
pub fn get_create_case_action(&self) -> &Option<CreateCaseActionDefinition>
Information about the create case action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnPostChatAnalysisAvailable
.
sourcepub fn update_case_action(self, input: UpdateCaseActionDefinition) -> Self
pub fn update_case_action(self, input: UpdateCaseActionDefinition) -> Self
Information about the update case action.
Supported only for TriggerEventSource
values: OnCaseCreate
| OnCaseUpdate
.
sourcepub fn set_update_case_action(
self,
input: Option<UpdateCaseActionDefinition>
) -> Self
pub fn set_update_case_action( self, input: Option<UpdateCaseActionDefinition> ) -> Self
Information about the update case action.
Supported only for TriggerEventSource
values: OnCaseCreate
| OnCaseUpdate
.
sourcepub fn get_update_case_action(&self) -> &Option<UpdateCaseActionDefinition>
pub fn get_update_case_action(&self) -> &Option<UpdateCaseActionDefinition>
Information about the update case action.
Supported only for TriggerEventSource
values: OnCaseCreate
| OnCaseUpdate
.
sourcepub fn end_associated_tasks_action(
self,
input: EndAssociatedTasksActionDefinition
) -> Self
pub fn end_associated_tasks_action( self, input: EndAssociatedTasksActionDefinition ) -> Self
Information about the end associated tasks action.
Supported only for TriggerEventSource
values: OnCaseUpdate
.
sourcepub fn set_end_associated_tasks_action(
self,
input: Option<EndAssociatedTasksActionDefinition>
) -> Self
pub fn set_end_associated_tasks_action( self, input: Option<EndAssociatedTasksActionDefinition> ) -> Self
Information about the end associated tasks action.
Supported only for TriggerEventSource
values: OnCaseUpdate
.
sourcepub fn get_end_associated_tasks_action(
&self
) -> &Option<EndAssociatedTasksActionDefinition>
pub fn get_end_associated_tasks_action( &self ) -> &Option<EndAssociatedTasksActionDefinition>
Information about the end associated tasks action.
Supported only for TriggerEventSource
values: OnCaseUpdate
.
sourcepub fn build(self) -> Result<RuleAction, BuildError>
pub fn build(self) -> Result<RuleAction, BuildError>
Consumes the builder and constructs a RuleAction
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RuleActionBuilder
impl Clone for RuleActionBuilder
source§fn clone(&self) -> RuleActionBuilder
fn clone(&self) -> RuleActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleActionBuilder
impl Debug for RuleActionBuilder
source§impl Default for RuleActionBuilder
impl Default for RuleActionBuilder
source§fn default() -> RuleActionBuilder
fn default() -> RuleActionBuilder
source§impl PartialEq for RuleActionBuilder
impl PartialEq for RuleActionBuilder
source§fn eq(&self, other: &RuleActionBuilder) -> bool
fn eq(&self, other: &RuleActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.