Interface AwsWafRuleGroupDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsWafRuleGroupDetails.Builder,
,AwsWafRuleGroupDetails> SdkBuilder<AwsWafRuleGroupDetails.Builder,
,AwsWafRuleGroupDetails> SdkPojo
- Enclosing class:
AwsWafRuleGroupDetails
public static interface AwsWafRuleGroupDetails.Builder
extends SdkPojo, CopyableBuilder<AwsWafRuleGroupDetails.Builder,AwsWafRuleGroupDetails>
-
Method Summary
Modifier and TypeMethodDescriptionmetricName
(String metricName) The name of the metrics for this rule group.The name of the rule group.ruleGroupId
(String ruleGroupId) The ID of the rule group.Provides information about the rules attached to the rule group.rules
(Consumer<AwsWafRuleGroupRulesDetails.Builder>... rules) Provides information about the rules attached to the rule group.rules
(AwsWafRuleGroupRulesDetails... rules) Provides information about the rules attached to 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, sdkFields
-
Method Details
-
metricName
The name of the metrics for this rule group.
- Parameters:
metricName
- The name of the metrics for this rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the rule group.
- Parameters:
name
- The name of the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroupId
The ID of the rule group.
- Parameters:
ruleGroupId
- The ID of the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
- Parameters:
rules
- Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
- Parameters:
rules
- Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
Provides information about the rules attached to the rule group. These rules identify the web requests that you want to allow, block, or count.
This is a convenience method that creates an instance of theAwsWafRuleGroupRulesDetails.Builder
avoiding the need to create one manually viaAwsWafRuleGroupRulesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<AwsWafRuleGroupRulesDetails>)
.- Parameters:
rules
- a consumer that will call methods onAwsWafRuleGroupRulesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-