Interface AwsWafRegionalRuleGroupRulesDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsWafRegionalRuleGroupRulesDetails.Builder,AwsWafRegionalRuleGroupRulesDetails>,SdkBuilder<AwsWafRegionalRuleGroupRulesDetails.Builder,AwsWafRegionalRuleGroupRulesDetails>,SdkPojo
- Enclosing class:
- AwsWafRegionalRuleGroupRulesDetails
public static interface AwsWafRegionalRuleGroupRulesDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRegionalRuleGroupRulesDetails.Builder,AwsWafRegionalRuleGroupRulesDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsWafRegionalRuleGroupRulesDetails.Builderaction(Consumer<AwsWafRegionalRuleGroupRulesActionDetails.Builder> action)The action that WAF should take on a web request when it matches the criteria defined in the rule.AwsWafRegionalRuleGroupRulesDetails.Builderaction(AwsWafRegionalRuleGroupRulesActionDetails action)The action that WAF should take on a web request when it matches the criteria defined in the rule.AwsWafRegionalRuleGroupRulesDetails.Builderpriority(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 ofPriority.AwsWafRegionalRuleGroupRulesDetails.BuilderruleId(String ruleId)The ID for a rule.AwsWafRegionalRuleGroupRulesDetails.Buildertype(String type)The type of rule in the rule group.-
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
AwsWafRegionalRuleGroupRulesDetails.Builder action(AwsWafRegionalRuleGroupRulesActionDetails action)
The action that WAF should take on a web request when it matches the criteria defined in the rule.
- Parameters:
action- The action that 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 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.Builderavoiding the need to create one manually viaAwsWafRegionalRuleGroupRulesActionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(AwsWafRegionalRuleGroupRulesActionDetails).- Parameters:
action- a consumer that will call methods onAwsWafRegionalRuleGroupRulesActionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
action(AwsWafRegionalRuleGroupRulesActionDetails)
-
priority
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.- 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
AwsWafRegionalRuleGroupRulesDetails.Builder ruleId(String ruleId)
The ID for a rule.
- Parameters:
ruleId- The ID for a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
AwsWafRegionalRuleGroupRulesDetails.Builder type(String type)
The type of rule in the rule group.
- Parameters:
type- The type of rule in the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-