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