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