Interface CfnAnomalyDetector.MetricProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnomalyDetector.MetricProperty.Jsii$Proxy
- Enclosing class:
CfnAnomalyDetector
@Stability(Stable)
public static interface CfnAnomalyDetector.MetricProperty
extends software.amazon.jsii.JsiiSerializable
Represents a specific metric.
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.cloudwatch.*; MetricProperty metricProperty = MetricProperty.builder() .metricName("metricName") .namespace("namespace") // the properties below are optional .dimensions(List.of(DimensionProperty.builder() .name("name") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAnomalyDetector.MetricProperty
static final class
An implementation forCfnAnomalyDetector.MetricProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricName
The name of the metric.This is a required field.
- See Also:
-
getNamespace
The namespace of the metric.- See Also:
-
getDimensions
The dimensions for the metric.- See Also:
-
builder
-