Class CfnWebACL.CustomHTTPHeaderProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.wafv2.CfnWebACL.CustomHTTPHeaderProperty.Jsii$Proxy
All Implemented Interfaces:
CfnWebACL.CustomHTTPHeaderProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnWebACL.CustomHTTPHeaderProperty

@Stability(Stable) @Internal public static final class CfnWebACL.CustomHTTPHeaderProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnWebACL.CustomHTTPHeaderProperty
  • 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(CfnWebACL.CustomHTTPHeaderProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnWebACL.CustomHTTPHeaderProperty.Builder.
  • Method Details

    • getName

      public final String getName()
      Description copied from interface: CfnWebACL.CustomHTTPHeaderProperty
      The name of the custom header.

      For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name x-amzn-waf- , to avoid confusion with the headers that are already in the request. For example, for the header name sample , AWS WAF inserts the header x-amzn-waf-sample .

      Specified by:
      getName in interface CfnWebACL.CustomHTTPHeaderProperty
    • getValue

      public final String getValue()
      Description copied from interface: CfnWebACL.CustomHTTPHeaderProperty
      The value of the custom header.
      Specified by:
      getValue in interface CfnWebACL.CustomHTTPHeaderProperty
    • $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