pub struct Builder { /* private fields */ }
Expand description
A builder for AwsWafRuleGroupDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> AwsWafRuleGroupDetails
pub fn build(self) -> AwsWafRuleGroupDetails
Consumes the builder and constructs a AwsWafRuleGroupDetails
.