Interface AwsWafRegionalRuleDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsWafRegionalRuleDetails.Builder,AwsWafRegionalRuleDetails>,SdkBuilder<AwsWafRegionalRuleDetails.Builder,AwsWafRegionalRuleDetails>,SdkPojo
- Enclosing class:
- AwsWafRegionalRuleDetails
public static interface AwsWafRegionalRuleDetails.Builder extends SdkPojo, CopyableBuilder<AwsWafRegionalRuleDetails.Builder,AwsWafRegionalRuleDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsWafRegionalRuleDetails.BuildermetricName(String metricName)A name for the metrics for the rule.AwsWafRegionalRuleDetails.Buildername(String name)A descriptive name for the rule.AwsWafRegionalRuleDetails.BuilderpredicateList(Collection<AwsWafRegionalRulePredicateListDetails> predicateList)Specifies theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.AwsWafRegionalRuleDetails.BuilderpredicateList(Consumer<AwsWafRegionalRulePredicateListDetails.Builder>... predicateList)Specifies theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.AwsWafRegionalRuleDetails.BuilderpredicateList(AwsWafRegionalRulePredicateListDetails... predicateList)Specifies theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.AwsWafRegionalRuleDetails.BuilderruleId(String ruleId)The ID of the rule.-
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
AwsWafRegionalRuleDetails.Builder metricName(String metricName)
A name for the metrics for the rule.
- Parameters:
metricName- A name for the metrics for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AwsWafRegionalRuleDetails.Builder name(String name)
A descriptive name for the rule.
- Parameters:
name- A descriptive name for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicateList
AwsWafRegionalRuleDetails.Builder predicateList(Collection<AwsWafRegionalRulePredicateListDetails> predicateList)
Specifies the
ByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.- Parameters:
predicateList- Specifies theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicateList
AwsWafRegionalRuleDetails.Builder predicateList(AwsWafRegionalRulePredicateListDetails... predicateList)
Specifies the
ByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.- Parameters:
predicateList- Specifies theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicateList
AwsWafRegionalRuleDetails.Builder predicateList(Consumer<AwsWafRegionalRulePredicateListDetails.Builder>... predicateList)
Specifies the
This is a convenience method that creates an instance of theByteMatchSet,IPSet,SqlInjectionMatchSet,XssMatchSet,RegexMatchSet,GeoMatchSet, andSizeConstraintSetobjects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.AwsWafRegionalRulePredicateListDetails.Builderavoiding the need to create one manually viaAwsWafRegionalRulePredicateListDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#predicateList(List.) - Parameters:
predicateList- a consumer that will call methods onAwsWafRegionalRulePredicateListDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#predicateList(java.util.Collection)
-
ruleId
AwsWafRegionalRuleDetails.Builder ruleId(String ruleId)
The ID of the rule.
- Parameters:
ruleId- The ID of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-