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