@Stability(value=Stable) public static final class CfnWebACL.CustomHTTPHeaderProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.CustomHTTPHeaderProperty>
CfnWebACL.CustomHTTPHeaderProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.CustomHTTPHeaderProperty |
build()
Builds the configured instance.
|
CfnWebACL.CustomHTTPHeaderProperty.Builder |
name(String name)
Sets the value of
CfnWebACL.CustomHTTPHeaderProperty.getName() |
CfnWebACL.CustomHTTPHeaderProperty.Builder |
value(String value)
Sets the value of
CfnWebACL.CustomHTTPHeaderProperty.getValue() |
@Stability(value=Stable) public CfnWebACL.CustomHTTPHeaderProperty.Builder name(String name)
CfnWebACL.CustomHTTPHeaderProperty.getName()name - The name of the custom header. This parameter is required.
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 .this@Stability(value=Stable) public CfnWebACL.CustomHTTPHeaderProperty.Builder value(String value)
CfnWebACL.CustomHTTPHeaderProperty.getValue()value - The value of the custom header. This parameter is required.this@Stability(value=Stable) public CfnWebACL.CustomHTTPHeaderProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.CustomHTTPHeaderProperty>CfnWebACL.CustomHTTPHeaderPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.