#[non_exhaustive]pub struct AwsWafRuleGroupDetailsBuilder { /* private fields */ }Expand description
A builder for AwsWafRuleGroupDetails.
Implementations§
source§impl AwsWafRuleGroupDetailsBuilder
impl AwsWafRuleGroupDetailsBuilder
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
The name of the metrics for this rule group.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
The name of the metrics for this rule group.
sourcepub fn get_metric_name(&self) -> &Option<String>
pub fn get_metric_name(&self) -> &Option<String>
The name of the metrics for this rule group.
sourcepub fn rule_group_id(self, input: impl Into<String>) -> Self
pub fn rule_group_id(self, input: impl Into<String>) -> Self
The ID of the rule group.
sourcepub fn set_rule_group_id(self, input: Option<String>) -> Self
pub fn set_rule_group_id(self, input: Option<String>) -> Self
The ID of the rule group.
sourcepub fn get_rule_group_id(&self) -> &Option<String>
pub fn get_rule_group_id(&self) -> &Option<String>
The ID of the rule group.
sourcepub fn rules(self, input: AwsWafRuleGroupRulesDetails) -> Self
pub fn rules(self, input: AwsWafRuleGroupRulesDetails) -> Self
Appends an item to rules.
To override the contents of this collection use set_rules.
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
sourcepub fn set_rules(self, input: Option<Vec<AwsWafRuleGroupRulesDetails>>) -> Self
pub fn set_rules(self, input: Option<Vec<AwsWafRuleGroupRulesDetails>>) -> Self
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
sourcepub fn get_rules(&self) -> &Option<Vec<AwsWafRuleGroupRulesDetails>>
pub fn get_rules(&self) -> &Option<Vec<AwsWafRuleGroupRulesDetails>>
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
sourcepub fn build(self) -> AwsWafRuleGroupDetails
pub fn build(self) -> AwsWafRuleGroupDetails
Consumes the builder and constructs a AwsWafRuleGroupDetails.
Trait Implementations§
source§impl Clone for AwsWafRuleGroupDetailsBuilder
impl Clone for AwsWafRuleGroupDetailsBuilder
source§fn clone(&self) -> AwsWafRuleGroupDetailsBuilder
fn clone(&self) -> AwsWafRuleGroupDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsWafRuleGroupDetailsBuilder
impl Default for AwsWafRuleGroupDetailsBuilder
source§fn default() -> AwsWafRuleGroupDetailsBuilder
fn default() -> AwsWafRuleGroupDetailsBuilder
source§impl PartialEq for AwsWafRuleGroupDetailsBuilder
impl PartialEq for AwsWafRuleGroupDetailsBuilder
source§fn eq(&self, other: &AwsWafRuleGroupDetailsBuilder) -> bool
fn eq(&self, other: &AwsWafRuleGroupDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.