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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsWafRuleGroupRulesDetails.Builderaction(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.Builderaction(AwsWafRuleGroupRulesActionDetails action)Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.AwsWafRuleGroupRulesDetails.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.AwsWafRuleGroupRulesDetails.BuilderruleId(String ruleId)The rule ID for a rule.AwsWafRuleGroupRulesDetails.Buildertype(String type)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
action
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.
- 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.Builderavoiding the need to create one manually viaAwsWafRuleGroupRulesActionDetails.builder().When the
Consumercompletes,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:
action(AwsWafRuleGroupRulesActionDetails)
-
priority
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.- 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
AwsWafRuleGroupRulesDetails.Builder ruleId(String 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
AwsWafRuleGroupRulesDetails.Builder type(String 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.
-
-