public static interface CustomHTTPHeader.Builder extends SdkPojo, CopyableBuilder<CustomHTTPHeader.Builder,CustomHTTPHeader>
| Modifier and Type | Method and Description |
|---|---|
CustomHTTPHeader.Builder |
name(String name)
The name of the custom header.
|
CustomHTTPHeader.Builder |
value(String value)
The value of the custom header.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomHTTPHeader.Builder name(String 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.
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.
CustomHTTPHeader.Builder value(String value)
The value of the custom header.
value - The value of the custom header.Copyright © 2023. All rights reserved.