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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsWafRegionalRuleGroupDetails.BuildermetricName(String metricName)A name for the metrics for this rule group.AwsWafRegionalRuleGroupDetails.Buildername(String name)The descriptive name of the rule group.AwsWafRegionalRuleGroupDetails.BuilderruleGroupId(String ruleGroupId)The ID of the rule group.AwsWafRegionalRuleGroupDetails.Builderrules(Collection<AwsWafRegionalRuleGroupRulesDetails> rules)Provides information about the rule statements used to identify the web requests that you want to allow, block, or count.AwsWafRegionalRuleGroupDetails.Builderrules(Consumer<AwsWafRegionalRuleGroupRulesDetails.Builder>... rules)Provides information about the rule statements used to identify the web requests that you want to allow, block, or count.AwsWafRegionalRuleGroupDetails.Builderrules(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 Detail
-
metricName
AwsWafRegionalRuleGroupDetails.Builder metricName(String 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
AwsWafRegionalRuleGroupDetails.Builder name(String 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
AwsWafRegionalRuleGroupDetails.Builder ruleGroupId(String 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
AwsWafRegionalRuleGroupDetails.Builder rules(Collection<AwsWafRegionalRuleGroupRulesDetails> 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(AwsWafRegionalRuleGroupRulesDetails... 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.Builderavoiding the need to create one manually viaAwsWafRegionalRuleGroupRulesDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - 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:
#rules(java.util.Collection)
-
-