Interface AwsWafRegionalWebAclRulesListDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsWafRegionalWebAclRulesListDetails.Builder,AwsWafRegionalWebAclRulesListDetails>,SdkBuilder<AwsWafRegionalWebAclRulesListDetails.Builder,AwsWafRegionalWebAclRulesListDetails>,SdkPojo
- Enclosing class:
- AwsWafRegionalWebAclRulesListDetails
public static interface AwsWafRegionalWebAclRulesListDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRegionalWebAclRulesListDetails.Builder,AwsWafRegionalWebAclRulesListDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsWafRegionalWebAclRulesListDetails.Builderaction(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.AwsWafRegionalWebAclRulesListDetails.Builderaction(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.default AwsWafRegionalWebAclRulesListDetails.BuilderoverrideAction(Consumer<AwsWafRegionalWebAclRulesListOverrideActionDetails.Builder> overrideAction)Overrides the rule evaluation result in the rule group.AwsWafRegionalWebAclRulesListDetails.BuilderoverrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails overrideAction)Overrides the rule evaluation result in the rule group.AwsWafRegionalWebAclRulesListDetails.Builderpriority(Integer priority)The order in which WAF evaluates the rules in a web ACL.AwsWafRegionalWebAclRulesListDetails.BuilderruleId(String ruleId)The ID of an WAF Regional rule to associate with a web ACL.AwsWafRegionalWebAclRulesListDetails.Buildertype(String type)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
action(AwsWafRegionalWebAclRulesListActionDetails)
-
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:
overrideAction(AwsWafRegionalWebAclRulesListOverrideActionDetails)
-
priority
AwsWafRegionalWebAclRulesListDetails.Builder priority(Integer 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
AwsWafRegionalWebAclRulesListDetails.Builder ruleId(String 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
AwsWafRegionalWebAclRulesListDetails.Builder type(String 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.
-
-