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