Class CfnSecurityProfile.MetricDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSecurityProfile.MetricDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfile.MetricDimensionProperty>
- Enclosing interface:
CfnSecurityProfile.MetricDimensionProperty
@Stability(Stable)
public static final class CfnSecurityProfile.MetricDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfile.MetricDimensionProperty>
A builder for
CfnSecurityProfile.MetricDimensionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dimensionName
(String dimensionName) Sets the value ofCfnSecurityProfile.MetricDimensionProperty.getDimensionName()
Sets the value ofCfnSecurityProfile.MetricDimensionProperty.getOperator()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionName
@Stability(Stable) public CfnSecurityProfile.MetricDimensionProperty.Builder dimensionName(String dimensionName) Sets the value ofCfnSecurityProfile.MetricDimensionProperty.getDimensionName()
- Parameters:
dimensionName
- The name of the dimension. This parameter is required.- Returns:
this
-
operator
@Stability(Stable) public CfnSecurityProfile.MetricDimensionProperty.Builder operator(String operator) Sets the value ofCfnSecurityProfile.MetricDimensionProperty.getOperator()
- Parameters:
operator
- Operators are constructs that perform logical operations. Valid values areIN
andNOT_IN
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityProfile.MetricDimensionProperty>
- Returns:
- a new instance of
CfnSecurityProfile.MetricDimensionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-