Class CfnRuleGroup.PublishMetricActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnRuleGroup.PublishMetricActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.PublishMetricActionProperty>
- Enclosing interface:
CfnRuleGroup.PublishMetricActionProperty
@Stability(Stable)
public static final class CfnRuleGroup.PublishMetricActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleGroup.PublishMetricActionProperty>
A builder for
CfnRuleGroup.PublishMetricActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dimensions
(List<? extends Object> dimensions) Sets the value ofCfnRuleGroup.PublishMetricActionProperty.getDimensions()
dimensions
(IResolvable dimensions) Sets the value ofCfnRuleGroup.PublishMetricActionProperty.getDimensions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensions
@Stability(Stable) public CfnRuleGroup.PublishMetricActionProperty.Builder dimensions(IResolvable dimensions) Sets the value ofCfnRuleGroup.PublishMetricActionProperty.getDimensions()
- Parameters:
dimensions
-CfnRuleGroup.PublishMetricActionProperty.Dimensions
. This parameter is required.- Returns:
this
-
dimensions
@Stability(Stable) public CfnRuleGroup.PublishMetricActionProperty.Builder dimensions(List<? extends Object> dimensions) Sets the value ofCfnRuleGroup.PublishMetricActionProperty.getDimensions()
- Parameters:
dimensions
-CfnRuleGroup.PublishMetricActionProperty.Dimensions
. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleGroup.PublishMetricActionProperty>
- Returns:
- a new instance of
CfnRuleGroup.PublishMetricActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-