@Stability(value=Stable)
public static interface CfnSecurityProfile.MetricToRetainProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSecurityProfile.MetricToRetainProperty.Builder
A builder for
CfnSecurityProfile.MetricToRetainProperty |
static class |
CfnSecurityProfile.MetricToRetainProperty.Jsii$Proxy
An implementation for
CfnSecurityProfile.MetricToRetainProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSecurityProfile.MetricToRetainProperty.Builder |
builder() |
String |
getMetric()
A standard of measurement.
|
default Object |
getMetricDimension()
The dimension of the metric.
|
@Stability(value=Stable) @NotNull String getMetric()
@Stability(value=Stable) @Nullable default Object getMetricDimension()
@Stability(value=Stable) static CfnSecurityProfile.MetricToRetainProperty.Builder builder()
Copyright © 2022. All rights reserved.