Struct aws_sdk_elasticloadbalancingv2::operation::modify_rule::builders::ModifyRuleInputBuilder
source · #[non_exhaustive]pub struct ModifyRuleInputBuilder { /* private fields */ }
Expand description
A builder for ModifyRuleInput
.
Implementations§
source§impl ModifyRuleInputBuilder
impl ModifyRuleInputBuilder
sourcepub fn rule_arn(self, input: impl Into<String>) -> Self
pub fn rule_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the rule.
sourcepub fn set_rule_arn(self, input: Option<String>) -> Self
pub fn set_rule_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the rule.
sourcepub fn conditions(self, input: RuleCondition) -> Self
pub fn conditions(self, input: RuleCondition) -> Self
Appends an item to conditions
.
To override the contents of this collection use set_conditions
.
The conditions.
sourcepub fn set_conditions(self, input: Option<Vec<RuleCondition>>) -> Self
pub fn set_conditions(self, input: Option<Vec<RuleCondition>>) -> Self
The conditions.
sourcepub fn actions(self, input: Action) -> Self
pub fn actions(self, input: Action) -> Self
Appends an item to actions
.
To override the contents of this collection use set_actions
.
The actions.
sourcepub fn set_actions(self, input: Option<Vec<Action>>) -> Self
pub fn set_actions(self, input: Option<Vec<Action>>) -> Self
The actions.
sourcepub fn build(self) -> Result<ModifyRuleInput, BuildError>
pub fn build(self) -> Result<ModifyRuleInput, BuildError>
Consumes the builder and constructs a ModifyRuleInput
.
Trait Implementations§
source§impl Clone for ModifyRuleInputBuilder
impl Clone for ModifyRuleInputBuilder
source§fn clone(&self) -> ModifyRuleInputBuilder
fn clone(&self) -> ModifyRuleInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModifyRuleInputBuilder
impl Debug for ModifyRuleInputBuilder
source§impl Default for ModifyRuleInputBuilder
impl Default for ModifyRuleInputBuilder
source§fn default() -> ModifyRuleInputBuilder
fn default() -> ModifyRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ModifyRuleInputBuilder> for ModifyRuleInputBuilder
impl PartialEq<ModifyRuleInputBuilder> for ModifyRuleInputBuilder
source§fn eq(&self, other: &ModifyRuleInputBuilder) -> bool
fn eq(&self, other: &ModifyRuleInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.