public static interface AwsWafRegionalRuleDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRegionalRuleDetails.Builder,AwsWafRegionalRuleDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafRegionalRuleDetails.Builder |
metricName(String metricName)
A name for the metrics for the rule.
|
AwsWafRegionalRuleDetails.Builder |
name(String name)
A descriptive name for the rule.
|
AwsWafRegionalRuleDetails.Builder |
predicateList(AwsWafRegionalRulePredicateListDetails... predicateList)
Specifies the
ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether
you want to negate the settings. |
AwsWafRegionalRuleDetails.Builder |
predicateList(Collection<AwsWafRegionalRulePredicateListDetails> predicateList)
Specifies the
ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether
you want to negate the settings. |
AwsWafRegionalRuleDetails.Builder |
predicateList(Consumer<AwsWafRegionalRulePredicateListDetails.Builder>... predicateList)
Specifies the
ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether
you want to negate the settings. |
AwsWafRegionalRuleDetails.Builder |
ruleId(String ruleId)
The ID of the rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafRegionalRuleDetails.Builder metricName(String metricName)
A name for the metrics for the rule.
metricName - A name for the metrics for the rule.AwsWafRegionalRuleDetails.Builder name(String name)
A descriptive name for the rule.
name - A descriptive name for the rule.AwsWafRegionalRuleDetails.Builder predicateList(Collection<AwsWafRegionalRulePredicateListDetails> predicateList)
Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether
you want to negate the settings.
predicateList - Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates
whether you want to negate the settings.AwsWafRegionalRuleDetails.Builder predicateList(AwsWafRegionalRulePredicateListDetails... predicateList)
Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether
you want to negate the settings.
predicateList - Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates
whether you want to negate the settings.AwsWafRegionalRuleDetails.Builder predicateList(Consumer<AwsWafRegionalRulePredicateListDetails.Builder>... predicateList)
Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether
you want to negate the settings.
AwsWafRegionalRulePredicateListDetails.Builder
avoiding the need to create one manually via
AwsWafRegionalRulePredicateListDetails.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #predicateList(List.
predicateList - a consumer that will call methods on
AwsWafRegionalRulePredicateListDetails.Builder#predicateList(java.util.Collection) AwsWafRegionalRuleDetails.Builder ruleId(String ruleId)
The ID of the rule.
ruleId - The ID of the rule.Copyright © 2023. All rights reserved.