Interface CustomHTTPHeader.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CustomHTTPHeader.Builder,CustomHTTPHeader>, SdkBuilder<CustomHTTPHeader.Builder,CustomHTTPHeader>, SdkPojo
Enclosing class:
CustomHTTPHeader

public static interface CustomHTTPHeader.Builder extends SdkPojo, CopyableBuilder<CustomHTTPHeader.Builder,CustomHTTPHeader>
  • Method Details

    • name

      The name of the custom header.

      For custom request header insertion, when 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, WAF inserts the header x-amzn-waf-sample.

      Parameters:
      name - The name of the custom header.

      For custom request header insertion, when 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, WAF inserts the header x-amzn-waf-sample.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value of the custom header.

      Parameters:
      value - The value of the custom header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.