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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsWafRuleGroupDetails.BuildermetricName(String metricName)The name of the metrics for this rule group.AwsWafRuleGroupDetails.Buildername(String name)The name of the rule group.AwsWafRuleGroupDetails.BuilderruleGroupId(String ruleGroupId)The ID of the rule group.AwsWafRuleGroupDetails.Builderrules(Collection<AwsWafRuleGroupRulesDetails> rules)Provides information about the rules attached to the rule group.AwsWafRuleGroupDetails.Builderrules(Consumer<AwsWafRuleGroupRulesDetails.Builder>... rules)Provides information about the rules attached to the rule group.AwsWafRuleGroupDetails.Builderrules(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
metricName
AwsWafRuleGroupDetails.Builder metricName(String 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
AwsWafRuleGroupDetails.Builder name(String 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
AwsWafRuleGroupDetails.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
AwsWafRuleGroupDetails.Builder rules(Collection<AwsWafRuleGroupRulesDetails> 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
AwsWafRuleGroupDetails.Builder rules(AwsWafRuleGroupRulesDetails... 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
AwsWafRuleGroupDetails.Builder rules(Consumer<AwsWafRuleGroupRulesDetails.Builder>... 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.Builderavoiding the need to create one manually viaAwsWafRuleGroupRulesDetails.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 onAwsWafRuleGroupRulesDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
-