@Stability(value=Stable) @Internal public static final class CfnRule.PredicateProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRule.PredicateProperty
CfnRule.PredicatePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnRule.PredicateProperty.Builder, CfnRule.PredicateProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRule.PredicateProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRule.PredicateProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDataId()
A unique identifier for a predicate in a `Rule` , such as `ByteMatchSetId` or `IPSetId` .
|
Object |
getNegated()
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` .
|
String |
getType()
The type of predicate in a `Rule` , such as `ByteMatch` or `IPSet` .
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRule.PredicateProperty.Builder builder)
CfnRule.PredicateProperty.Builder.public final String getDataId()
CfnRule.PredicateProperty
The ID is returned by the corresponding Create or List command.
getDataId in interface CfnRule.PredicatePropertypublic final Object getNegated()
CfnRule.PredicateProperty
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 .
getNegated in interface CfnRule.PredicatePropertypublic final String getType()
CfnRule.PredicatePropertygetType in interface CfnRule.PredicateProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.