public static interface AwsWafRuleGroupRulesDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRuleGroupRulesDetails.Builder,AwsWafRuleGroupRulesDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafRuleGroupRulesDetails.Builder |
action(AwsWafRuleGroupRulesActionDetails action)
Provides information about what action WAF should take on a web request when it matches the criteria defined
in the rule.
|
default AwsWafRuleGroupRulesDetails.Builder |
action(Consumer<AwsWafRuleGroupRulesActionDetails.Builder> action)
Provides information about what action WAF should take on a web request when it matches the criteria defined
in the rule.
|
AwsWafRuleGroupRulesDetails.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. |
AwsWafRuleGroupRulesDetails.Builder |
ruleId(String ruleId)
The rule ID for a rule.
|
AwsWafRuleGroupRulesDetails.Builder |
type(String type)
The type of rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafRuleGroupRulesDetails.Builder action(AwsWafRuleGroupRulesActionDetails action)
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
action - Provides information about what action WAF should take on a web request when it matches the criteria
defined in the rule.default AwsWafRuleGroupRulesDetails.Builder action(Consumer<AwsWafRuleGroupRulesActionDetails.Builder> action)
Provides information about what action 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 theAwsWafRuleGroupRulesActionDetails.Builder avoiding the need to create one manually via
AwsWafRuleGroupRulesActionDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to action(AwsWafRuleGroupRulesActionDetails).
action - a consumer that will call methods on AwsWafRuleGroupRulesActionDetails.Builderaction(AwsWafRuleGroupRulesActionDetails)AwsWafRuleGroupRulesDetails.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.AwsWafRuleGroupRulesDetails.Builder ruleId(String ruleId)
The rule ID for a rule.
ruleId - The rule ID for a rule.AwsWafRuleGroupRulesDetails.Builder type(String type)
The type of rule.
type - The type of rule.Copyright © 2023. All rights reserved.