public static interface AwsWafRuleDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRuleDetails.Builder,AwsWafRuleDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsWafRuleDetails.Builder |
metricName(String metricName)
The name of the metrics for this rule.
|
AwsWafRuleDetails.Builder |
name(String name)
A descriptive name for the rule.
|
AwsWafRuleDetails.Builder |
predicateList(AwsWafRulePredicateListDetails... 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. |
AwsWafRuleDetails.Builder |
predicateList(Collection<AwsWafRulePredicateListDetails> 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. |
AwsWafRuleDetails.Builder |
predicateList(Consumer<AwsWafRulePredicateListDetails.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. |
AwsWafRuleDetails.Builder |
ruleId(String ruleId)
The ID of the WAF rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsWafRuleDetails.Builder metricName(String metricName)
The name of the metrics for this rule.
metricName - The name of the metrics for this rule.AwsWafRuleDetails.Builder name(String name)
A descriptive name for the rule.
name - A descriptive name for the rule.AwsWafRuleDetails.Builder predicateList(Collection<AwsWafRulePredicateListDetails> 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.AwsWafRuleDetails.Builder predicateList(AwsWafRulePredicateListDetails... 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.AwsWafRuleDetails.Builder predicateList(Consumer<AwsWafRulePredicateListDetails.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.
AwsWafRulePredicateListDetails.Builder avoiding the
need to create one manually via
AwsWafRulePredicateListDetails.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
AwsWafRulePredicateListDetails.Builder#predicateList(java.util.Collection) AwsWafRuleDetails.Builder ruleId(String ruleId)
The ID of the WAF rule.
ruleId - The ID of the WAF rule.Copyright © 2023. All rights reserved.