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