Interface AwsWafRegionalWebAclRulesListDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsWafRegionalWebAclRulesListDetails.Builder,,AwsWafRegionalWebAclRulesListDetails> SdkBuilder<AwsWafRegionalWebAclRulesListDetails.Builder,,AwsWafRegionalWebAclRulesListDetails> SdkPojo
- Enclosing class:
AwsWafRegionalWebAclRulesListDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.Overrides the rule evaluation result in the rule group.overrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails overrideAction) Overrides the rule evaluation result in the rule group.The order in which WAF evaluates the rules in a web ACL.The ID of an WAF Regional rule to associate with a web ACL.For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
AwsWafRegionalWebAclRulesListDetails.Builder action(AwsWafRegionalWebAclRulesListActionDetails action) The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.
- Parameters:
action- The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
default AwsWafRegionalWebAclRulesListDetails.Builder action(Consumer<AwsWafRegionalWebAclRulesListActionDetails.Builder> action) The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.
This is a convenience method that creates an instance of theAwsWafRegionalWebAclRulesListActionDetails.Builderavoiding the need to create one manually viaAwsWafRegionalWebAclRulesListActionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(AwsWafRegionalWebAclRulesListActionDetails).- Parameters:
action- a consumer that will call methods onAwsWafRegionalWebAclRulesListActionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideAction
AwsWafRegionalWebAclRulesListDetails.Builder overrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails overrideAction) Overrides the rule evaluation result in the rule group.
- Parameters:
overrideAction- Overrides the rule evaluation result in the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideAction
default AwsWafRegionalWebAclRulesListDetails.Builder overrideAction(Consumer<AwsWafRegionalWebAclRulesListOverrideActionDetails.Builder> overrideAction) Overrides the rule evaluation result in the rule group.
This is a convenience method that creates an instance of theAwsWafRegionalWebAclRulesListOverrideActionDetails.Builderavoiding the need to create one manually viaAwsWafRegionalWebAclRulesListOverrideActionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooverrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails).- Parameters:
overrideAction- a consumer that will call methods onAwsWafRegionalWebAclRulesListOverrideActionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The order in which WAF evaluates the rules in a web ACL.
- Parameters:
priority- The order in which WAF evaluates the rules in a web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleId
The ID of an WAF Regional rule to associate with a web ACL.
- Parameters:
ruleId- The ID of an WAF Regional rule to associate with a web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.
- Parameters:
type- For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-