#[non_exhaustive]pub struct AwsWafRegionalRuleGroupDetails {
pub metric_name: Option<String>,
pub name: Option<String>,
pub rule_group_id: Option<String>,
pub rules: Option<Vec<AwsWafRegionalRuleGroupRulesDetails>>,
}
Expand description
Provides information about an WAF Regional rule group. The rule group is a collection of rules for inspecting and controlling web requests.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.metric_name: Option<String>
A name for the metrics for this rule group.
name: Option<String>
The descriptive name of the rule group.
rule_group_id: Option<String>
The ID of the rule group.
rules: Option<Vec<AwsWafRegionalRuleGroupRulesDetails>>
Provides information about the rule statements used to identify the web requests that you want to allow, block, or count.
Implementations§
source§impl AwsWafRegionalRuleGroupDetails
impl AwsWafRegionalRuleGroupDetails
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
A name for the metrics for this rule group.
sourcepub fn rule_group_id(&self) -> Option<&str>
pub fn rule_group_id(&self) -> Option<&str>
The ID of the rule group.
sourcepub fn rules(&self) -> &[AwsWafRegionalRuleGroupRulesDetails]
pub fn rules(&self) -> &[AwsWafRegionalRuleGroupRulesDetails]
Provides information about the rule statements used to identify the web requests that you want to allow, block, or count.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none()
.
source§impl AwsWafRegionalRuleGroupDetails
impl AwsWafRegionalRuleGroupDetails
sourcepub fn builder() -> AwsWafRegionalRuleGroupDetailsBuilder
pub fn builder() -> AwsWafRegionalRuleGroupDetailsBuilder
Creates a new builder-style object to manufacture AwsWafRegionalRuleGroupDetails
.
Trait Implementations§
source§impl Clone for AwsWafRegionalRuleGroupDetails
impl Clone for AwsWafRegionalRuleGroupDetails
source§fn clone(&self) -> AwsWafRegionalRuleGroupDetails
fn clone(&self) -> AwsWafRegionalRuleGroupDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsWafRegionalRuleGroupDetails
impl PartialEq for AwsWafRegionalRuleGroupDetails
source§fn eq(&self, other: &AwsWafRegionalRuleGroupDetails) -> bool
fn eq(&self, other: &AwsWafRegionalRuleGroupDetails) -> bool
self
and other
values to be equal, and is used
by ==
.