Struct aws_sdk_securityhub::model::aws_waf_rate_based_rule_details::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for AwsWafRateBasedRuleDetails
Implementations
The name of the metrics for the rate-based rule.
The name of the metrics for the rate-based rule.
The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.
The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.
The maximum number of requests that have an identical value for the field specified in RateKey
that are allowed within a five-minute period. If the number of requests exceeds RateLimit
and the other predicates specified in the rule are met, WAF triggers the action for the rule.
The maximum number of requests that have an identical value for the field specified in RateKey
that are allowed within a five-minute period. If the number of requests exceeds RateLimit
and the other predicates specified in the rule are met, WAF triggers the action for the rule.
The unique identifier for the rate-based rule.
The unique identifier for the rate-based rule.
Appends an item to match_predicates
.
To override the contents of this collection use set_match_predicates
.
The predicates to include in the rate-based rule.
pub fn set_match_predicates(
self,
input: Option<Vec<AwsWafRateBasedRuleMatchPredicate>>
) -> Self
pub fn set_match_predicates(
self,
input: Option<Vec<AwsWafRateBasedRuleMatchPredicate>>
) -> Self
The predicates to include in the rate-based rule.
Consumes the builder and constructs a AwsWafRateBasedRuleDetails
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more