Interface AwsWafRuleGroupRulesDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsWafRuleGroupRulesDetails.Builder,
,AwsWafRuleGroupRulesDetails> SdkBuilder<AwsWafRuleGroupRulesDetails.Builder,
,AwsWafRuleGroupRulesDetails> SdkPojo
- Enclosing class:
AwsWafRuleGroupRulesDetails
public static interface AwsWafRuleGroupRulesDetails.Builder
extends SdkPojo, CopyableBuilder<AwsWafRuleGroupRulesDetails.Builder,AwsWafRuleGroupRulesDetails>
-
Method Summary
Modifier and TypeMethodDescriptionProvides information about what action WAF should take on a web request when it matches the criteria defined in the rule.Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order based on the value ofPriority
.The rule ID for a rule.The type of rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
- Parameters:
action
- Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
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 viaAwsWafRuleGroupRulesActionDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(AwsWafRuleGroupRulesActionDetails)
.- Parameters:
action
- a consumer that will call methods onAwsWafRuleGroupRulesActionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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 ofPriority
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleId
The rule ID for a rule.
- Parameters:
ruleId
- The rule ID for a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of rule.
- Parameters:
type
- The type of rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-