Class CfnWebACL.SingleHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wafv2.CfnWebACL.SingleHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACL.SingleHeaderProperty>
- Enclosing interface:
CfnWebACL.SingleHeaderProperty
@Stability(Stable)
public static final class CfnWebACL.SingleHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebACL.SingleHeaderProperty>
A builder for
CfnWebACL.SingleHeaderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebACL.SingleHeaderProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWebACL.SingleHeaderProperty.getName()- Parameters:
name- The name of the query header to inspect. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACL.SingleHeaderProperty>- Returns:
- a new instance of
CfnWebACL.SingleHeaderProperty - Throws:
NullPointerException- if any required attribute was not provided
-