Class CfnWebACLPropsMixin.CustomRequestHandlingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnWebACLPropsMixin.CustomRequestHandlingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.CustomRequestHandlingProperty>
- Enclosing interface:
CfnWebACLPropsMixin.CustomRequestHandlingProperty
@Stability(Stable)
public static final class CfnWebACLPropsMixin.CustomRequestHandlingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACLPropsMixin.CustomRequestHandlingProperty>
A builder for
CfnWebACLPropsMixin.CustomRequestHandlingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.insertHeaders(List<? extends Object> insertHeaders) Sets the value ofCfnWebACLPropsMixin.CustomRequestHandlingProperty.getInsertHeaders()insertHeaders(IResolvable insertHeaders) Sets the value ofCfnWebACLPropsMixin.CustomRequestHandlingProperty.getInsertHeaders()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
insertHeaders
@Stability(Stable) public CfnWebACLPropsMixin.CustomRequestHandlingProperty.Builder insertHeaders(IResolvable insertHeaders) Sets the value ofCfnWebACLPropsMixin.CustomRequestHandlingProperty.getInsertHeaders()- Parameters:
insertHeaders- The HTTP headers to insert into the request. Duplicate header names are not allowed. 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 .- Returns:
this
-
insertHeaders
@Stability(Stable) public CfnWebACLPropsMixin.CustomRequestHandlingProperty.Builder insertHeaders(List<? extends Object> insertHeaders) Sets the value ofCfnWebACLPropsMixin.CustomRequestHandlingProperty.getInsertHeaders()- Parameters:
insertHeaders- The HTTP headers to insert into the request. Duplicate header names are not allowed. 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 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.CustomRequestHandlingProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.CustomRequestHandlingProperty - Throws:
NullPointerException- if any required attribute was not provided
-