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