#[non_exhaustive]pub struct UpdateRuleInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRuleInput
.
Implementations§
source§impl UpdateRuleInputBuilder
impl UpdateRuleInputBuilder
sourcepub fn set_rule_id(self, input: Option<String>) -> Self
pub fn set_rule_id(self, input: Option<String>) -> Self
A unique identifier for the rule.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the rule. You can change the name only if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the rule. You can change the name only if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
sourcepub fn set_function(self, input: Option<String>) -> Self
pub fn set_function(self, input: Option<String>) -> Self
The conditions of the rule.
sourcepub fn actions(self, input: RuleAction) -> Self
pub fn actions(self, input: RuleAction) -> Self
Appends an item to actions
.
To override the contents of this collection use set_actions
.
A list of actions to be run when the rule is triggered.
sourcepub fn set_actions(self, input: Option<Vec<RuleAction>>) -> Self
pub fn set_actions(self, input: Option<Vec<RuleAction>>) -> Self
A list of actions to be run when the rule is triggered.
sourcepub fn publish_status(self, input: RulePublishStatus) -> Self
pub fn publish_status(self, input: RulePublishStatus) -> Self
The publish status of the rule.
sourcepub fn set_publish_status(self, input: Option<RulePublishStatus>) -> Self
pub fn set_publish_status(self, input: Option<RulePublishStatus>) -> Self
The publish status of the rule.
sourcepub fn build(self) -> Result<UpdateRuleInput, BuildError>
pub fn build(self) -> Result<UpdateRuleInput, BuildError>
Consumes the builder and constructs a UpdateRuleInput
.
Trait Implementations§
source§impl Clone for UpdateRuleInputBuilder
impl Clone for UpdateRuleInputBuilder
source§fn clone(&self) -> UpdateRuleInputBuilder
fn clone(&self) -> UpdateRuleInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateRuleInputBuilder
impl Debug for UpdateRuleInputBuilder
source§impl Default for UpdateRuleInputBuilder
impl Default for UpdateRuleInputBuilder
source§fn default() -> UpdateRuleInputBuilder
fn default() -> UpdateRuleInputBuilder
source§impl PartialEq<UpdateRuleInputBuilder> for UpdateRuleInputBuilder
impl PartialEq<UpdateRuleInputBuilder> for UpdateRuleInputBuilder
source§fn eq(&self, other: &UpdateRuleInputBuilder) -> bool
fn eq(&self, other: &UpdateRuleInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.