Interface CfnSecurityProfile.MetricToRetainProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSecurityProfile.MetricToRetainProperty.Jsii$Proxy
- Enclosing class:
- CfnSecurityProfile
@Stability(Stable)
public static interface CfnSecurityProfile.MetricToRetainProperty
extends software.amazon.jsii.JsiiSerializable
The metric you want to retain.
Dimensions are optional.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
MetricToRetainProperty metricToRetainProperty = MetricToRetainProperty.builder()
.metric("metric")
// the properties below are optional
.metricDimension(MetricDimensionProperty.builder()
.dimensionName("dimensionName")
// the properties below are optional
.operator("operator")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSecurityProfile.MetricToRetainPropertystatic final classAn implementation forCfnSecurityProfile.MetricToRetainProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetric
A standard of measurement. -
getMetricDimension
The dimension of the metric. -
builder
-