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