@Stability(value=Stable)
public static interface CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
SingleMetricAnomalyDetectorProperty singleMetricAnomalyDetectorProperty = SingleMetricAnomalyDetectorProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.stat("stat")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty.Builder
A builder for
CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty |
static class |
CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty.Jsii$Proxy
An implementation for
CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty.Builder |
builder() |
default Object |
getDimensions()
The metric dimensions to create the anomaly detection model for.
|
default String |
getMetricName()
The name of the metric to create the anomaly detection model for.
|
default String |
getNamespace()
The namespace of the metric to create the anomaly detection model for.
|
default String |
getStat()
The statistic to use for the metric and anomaly detection model.
|
@Stability(value=Stable) @Nullable default Object getDimensions()
@Stability(value=Stable) @Nullable default String getMetricName()
@Stability(value=Stable) @Nullable default String getNamespace()
@Stability(value=Stable) @Nullable default String getStat()
@Stability(value=Stable) static CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty.Builder builder()
Copyright © 2023. All rights reserved.