Class CfnRuleGroup.CustomHTTPHeaderProperty.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnRuleGroup.CustomHTTPHeaderProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleGroup.CustomHTTPHeaderProperty
  • Constructor Details

  • Method Details

    • getName

      public final String getName()
      Description copied from interface: CfnRuleGroup.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 CfnRuleGroup.CustomHTTPHeaderProperty
    • getValue

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