@Stability(value=Stable) public static final class CfnRule.PredicateProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRule.PredicateProperty>
CfnRule.PredicateProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRule.PredicateProperty |
build()
Builds the configured instance.
|
CfnRule.PredicateProperty.Builder |
dataId(String dataId)
Sets the value of
CfnRule.PredicateProperty.getDataId() |
CfnRule.PredicateProperty.Builder |
negated(Boolean negated)
Sets the value of
CfnRule.PredicateProperty.getNegated() |
CfnRule.PredicateProperty.Builder |
negated(IResolvable negated)
Sets the value of
CfnRule.PredicateProperty.getNegated() |
CfnRule.PredicateProperty.Builder |
type(String type)
Sets the value of
CfnRule.PredicateProperty.getType() |
@Stability(value=Stable) public CfnRule.PredicateProperty.Builder dataId(String dataId)
CfnRule.PredicateProperty.getDataId()dataId - A unique identifier for a predicate in a `Rule` , such as `ByteMatchSetId` or `IPSetId` . This parameter is required.
The ID is returned by the corresponding Create or List command.this@Stability(value=Stable) public CfnRule.PredicateProperty.Builder negated(Boolean negated)
CfnRule.PredicateProperty.getNegated()negated - Set `Negated` to `False` if you want AWS WAF to allow, block, or count requests based on the settings in the specified `ByteMatchSet` , `IPSet` , `SqlInjectionMatchSet` , `XssMatchSet` , `RegexMatchSet` , `GeoMatchSet` , or `SizeConstraintSet` . This parameter is required.
For example, if an IPSet includes the IP address 192.0.2.44 , AWS WAF will allow or block requests based on that IP address.
Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet , IPSet , SqlInjectionMatchSet , XssMatchSet , RegexMatchSet , GeoMatchSet , or SizeConstraintSet . For example, if an IPSet includes the IP address 192.0.2.44 , AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44 .
this@Stability(value=Stable) public CfnRule.PredicateProperty.Builder negated(IResolvable negated)
CfnRule.PredicateProperty.getNegated()negated - Set `Negated` to `False` if you want AWS WAF to allow, block, or count requests based on the settings in the specified `ByteMatchSet` , `IPSet` , `SqlInjectionMatchSet` , `XssMatchSet` , `RegexMatchSet` , `GeoMatchSet` , or `SizeConstraintSet` . This parameter is required.
For example, if an IPSet includes the IP address 192.0.2.44 , AWS WAF will allow or block requests based on that IP address.
Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet , IPSet , SqlInjectionMatchSet , XssMatchSet , RegexMatchSet , GeoMatchSet , or SizeConstraintSet . For example, if an IPSet includes the IP address 192.0.2.44 , AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44 .
this@Stability(value=Stable) public CfnRule.PredicateProperty.Builder type(String type)
CfnRule.PredicateProperty.getType()type - The type of predicate in a `Rule` , such as `ByteMatch` or `IPSet` . This parameter is required.this@Stability(value=Stable) public CfnRule.PredicateProperty build()
build in interface software.amazon.jsii.Builder<CfnRule.PredicateProperty>CfnRule.PredicatePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.