@Stability(value=Stable)
public static interface CfnAnomalyDetector.MetricDataQueryProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
MetricDataQueryProperty metricDataQueryProperty = MetricDataQueryProperty.builder()
.id("id")
// the properties below are optional
.accountId("accountId")
.expression("expression")
.label("label")
.metricStat(MetricStatProperty.builder()
.metric(MetricProperty.builder()
.metricName("metricName")
.namespace("namespace")
// the properties below are optional
.dimensions(List.of(DimensionProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.period(123)
.stat("stat")
// the properties below are optional
.unit("unit")
.build())
.period(123)
.returnData(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalyDetector.MetricDataQueryProperty.Builder
A builder for
CfnAnomalyDetector.MetricDataQueryProperty |
static class |
CfnAnomalyDetector.MetricDataQueryProperty.Jsii$Proxy
An implementation for
CfnAnomalyDetector.MetricDataQueryProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalyDetector.MetricDataQueryProperty.Builder |
builder() |
default String |
getAccountId()
`CfnAnomalyDetector.MetricDataQueryProperty.AccountId`.
|
default String |
getExpression()
`CfnAnomalyDetector.MetricDataQueryProperty.Expression`.
|
String |
getId()
`CfnAnomalyDetector.MetricDataQueryProperty.Id`.
|
default String |
getLabel()
`CfnAnomalyDetector.MetricDataQueryProperty.Label`.
|
default Object |
getMetricStat()
`CfnAnomalyDetector.MetricDataQueryProperty.MetricStat`.
|
default Number |
getPeriod()
`CfnAnomalyDetector.MetricDataQueryProperty.Period`.
|
default Object |
getReturnData()
`CfnAnomalyDetector.MetricDataQueryProperty.ReturnData`.
|
@Stability(value=Stable) @Nullable default String getAccountId()
@Stability(value=Stable) @Nullable default String getExpression()
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) @Nullable default String getLabel()
@Stability(value=Stable) @Nullable default Object getMetricStat()
@Stability(value=Stable) @Nullable default Number getPeriod()
@Stability(value=Stable) @Nullable default Object getReturnData()
@Stability(value=Stable) static CfnAnomalyDetector.MetricDataQueryProperty.Builder builder()
Copyright © 2021. All rights reserved.