#[non_exhaustive]pub struct AwsWafRuleGroupRulesDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsWafRuleGroupRulesDetails
.
Implementations§
source§impl AwsWafRuleGroupRulesDetailsBuilder
impl AwsWafRuleGroupRulesDetailsBuilder
sourcepub fn action(self, input: AwsWafRuleGroupRulesActionDetails) -> Self
pub fn action(self, input: AwsWafRuleGroupRulesActionDetails) -> Self
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
sourcepub fn set_action(
self,
input: Option<AwsWafRuleGroupRulesActionDetails>
) -> Self
pub fn set_action( self, input: Option<AwsWafRuleGroupRulesActionDetails> ) -> Self
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
sourcepub fn get_action(&self) -> &Option<AwsWafRuleGroupRulesActionDetails>
pub fn get_action(&self) -> &Option<AwsWafRuleGroupRulesActionDetails>
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the value of Priority
.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the value of Priority
.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the value of Priority
.
sourcepub fn set_rule_id(self, input: Option<String>) -> Self
pub fn set_rule_id(self, input: Option<String>) -> Self
The rule ID for a rule.
sourcepub fn get_rule_id(&self) -> &Option<String>
pub fn get_rule_id(&self) -> &Option<String>
The rule ID for a rule.
sourcepub fn build(self) -> AwsWafRuleGroupRulesDetails
pub fn build(self) -> AwsWafRuleGroupRulesDetails
Consumes the builder and constructs a AwsWafRuleGroupRulesDetails
.
Trait Implementations§
source§impl Clone for AwsWafRuleGroupRulesDetailsBuilder
impl Clone for AwsWafRuleGroupRulesDetailsBuilder
source§fn clone(&self) -> AwsWafRuleGroupRulesDetailsBuilder
fn clone(&self) -> AwsWafRuleGroupRulesDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsWafRuleGroupRulesDetailsBuilder
impl Default for AwsWafRuleGroupRulesDetailsBuilder
source§fn default() -> AwsWafRuleGroupRulesDetailsBuilder
fn default() -> AwsWafRuleGroupRulesDetailsBuilder
source§impl PartialEq for AwsWafRuleGroupRulesDetailsBuilder
impl PartialEq for AwsWafRuleGroupRulesDetailsBuilder
source§fn eq(&self, other: &AwsWafRuleGroupRulesDetailsBuilder) -> bool
fn eq(&self, other: &AwsWafRuleGroupRulesDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.