@Stability(value=Stable)
public static interface CfnAnomalyDetector.MetricProperty
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.lookoutmetrics.*;
MetricProperty metricProperty = MetricProperty.builder()
.aggregationFunction("aggregationFunction")
.metricName("metricName")
// the properties below are optional
.namespace("namespace")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalyDetector.MetricProperty.Builder
A builder for
CfnAnomalyDetector.MetricProperty |
static class |
CfnAnomalyDetector.MetricProperty.Jsii$Proxy
An implementation for
CfnAnomalyDetector.MetricProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalyDetector.MetricProperty.Builder |
builder() |
String |
getAggregationFunction()
The function with which the metric is calculated.
|
String |
getMetricName()
The name of the metric.
|
default String |
getNamespace()
The namespace for the metric.
|
@Stability(value=Stable) @NotNull String getAggregationFunction()
@Stability(value=Stable) @NotNull String getMetricName()
@Stability(value=Stable) @Nullable default String getNamespace()
@Stability(value=Stable) static CfnAnomalyDetector.MetricProperty.Builder builder()
Copyright © 2022. All rights reserved.