Class CfnRule.PredicateProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.waf.regional.CfnRule.PredicateProperty.Jsii$Proxy
All Implemented Interfaces:
CfnRule.PredicateProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnRule.PredicateProperty

@Stability(Stable) @Internal public static final class CfnRule.PredicateProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRule.PredicateProperty
An implementation for CfnRule.PredicateProperty
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.waf.regional.CfnRule.PredicateProperty

    CfnRule.PredicateProperty.Builder, CfnRule.PredicateProperty.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    A unique identifier for a predicate in a Rule , such as ByteMatchSetId or IPSetId .
    final Object
    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 .
    final String
    The type of predicate in a Rule , such as ByteMatch or IPSet .
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnRule.PredicateProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnRule.PredicateProperty.Builder.
  • Method Details

    • getDataId

      public final String getDataId()
      Description copied from interface: CfnRule.PredicateProperty
      A unique identifier for a predicate in a Rule , such as ByteMatchSetId or IPSetId .

      The ID is returned by the corresponding Create or List command.

      Specified by:
      getDataId in interface CfnRule.PredicateProperty
    • getNegated

      public final Object getNegated()
      Description copied from interface: CfnRule.PredicateProperty
      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 .

      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 .

      Specified by:
      getNegated in interface CfnRule.PredicateProperty
    • getType

      public final String getType()
      Description copied from interface: CfnRule.PredicateProperty
      The type of predicate in a Rule , such as ByteMatch or IPSet .
      Specified by:
      getType in interface CfnRule.PredicateProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object