public static final class CfnWebACL.CustomRequestHandlingProperty.Builder
extends java.lang.Object
CfnWebACL.CustomRequestHandlingProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnWebACL.CustomRequestHandlingProperty |
build()
Builds the configured instance.
|
CfnWebACL.CustomRequestHandlingProperty.Builder |
insertHeaders(IResolvable insertHeaders)
Sets the value of
CfnWebACL.CustomRequestHandlingProperty.getInsertHeaders() |
CfnWebACL.CustomRequestHandlingProperty.Builder |
insertHeaders(java.util.List<? extends java.lang.Object> insertHeaders)
Sets the value of
CfnWebACL.CustomRequestHandlingProperty.getInsertHeaders() |
public CfnWebACL.CustomRequestHandlingProperty.Builder insertHeaders(IResolvable insertHeaders)
CfnWebACL.CustomRequestHandlingProperty.getInsertHeaders()
insertHeaders
- The HTTP headers to insert into the request. Duplicate header names are not allowed. This parameter is required.
For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .this
public CfnWebACL.CustomRequestHandlingProperty.Builder insertHeaders(java.util.List<? extends java.lang.Object> insertHeaders)
CfnWebACL.CustomRequestHandlingProperty.getInsertHeaders()
insertHeaders
- The HTTP headers to insert into the request. Duplicate header names are not allowed. This parameter is required.
For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide .this
public CfnWebACL.CustomRequestHandlingProperty build()
CfnWebACL.CustomRequestHandlingProperty
java.lang.NullPointerException
- if any required attribute was not provided