public static interface AwsWafRegionalRuleGroupRulesDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRegionalRuleGroupRulesDetails.Builder,AwsWafRegionalRuleGroupRulesDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafRegionalRuleGroupRulesDetails.Builder |
action(AwsWafRegionalRuleGroupRulesActionDetails action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
|
default AwsWafRegionalRuleGroupRulesDetails.Builder |
action(Consumer<AwsWafRegionalRuleGroupRulesActionDetails.Builder> action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
|
AwsWafRegionalRuleGroupRulesDetails.Builder |
priority(Integer priority)
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. |
AwsWafRegionalRuleGroupRulesDetails.Builder |
ruleId(String ruleId)
The ID for a rule.
|
AwsWafRegionalRuleGroupRulesDetails.Builder |
type(String type)
The type of rule in the rule group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafRegionalRuleGroupRulesDetails.Builder action(AwsWafRegionalRuleGroupRulesActionDetails action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
action - The action that WAF should take on a web request when it matches the criteria defined in the rule.default AwsWafRegionalRuleGroupRulesDetails.Builder action(Consumer<AwsWafRegionalRuleGroupRulesActionDetails.Builder> action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
This is a convenience method that creates an instance of theAwsWafRegionalRuleGroupRulesActionDetails.Builder avoiding the need to create one manually via
AwsWafRegionalRuleGroupRulesActionDetails.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to action(AwsWafRegionalRuleGroupRulesActionDetails).
action - a consumer that will call methods on AwsWafRegionalRuleGroupRulesActionDetails.Builderaction(AwsWafRegionalRuleGroupRulesActionDetails)AwsWafRegionalRuleGroupRulesDetails.Builder priority(Integer priority)
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.
priority - 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.AwsWafRegionalRuleGroupRulesDetails.Builder ruleId(String ruleId)
The ID for a rule.
ruleId - The ID for a rule.AwsWafRegionalRuleGroupRulesDetails.Builder type(String type)
The type of rule in the rule group.
type - The type of rule in the rule group.Copyright © 2023. All rights reserved.