@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.299Z") @Stability(value=Deprecated) @Deprecated public interface MetricAlarmConfig 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.*;
Object value;
MetricAlarmConfig metricAlarmConfig = MetricAlarmConfig.builder()
.metricName("metricName")
.namespace("namespace")
.period(123)
// the properties below are optional
.dimensions(List.of(Dimension.builder()
.name("name")
.value(value)
.build()))
.extendedStatistic("extendedStatistic")
.statistic(Statistic.SAMPLE_COUNT)
.unit(Unit.SECONDS)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MetricAlarmConfig.Builder
Deprecated.
|
static class |
MetricAlarmConfig.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricAlarmConfig.Builder |
builder()
Deprecated.
|
default List<Dimension> |
getDimensions()
Deprecated.
|
default String |
getExtendedStatistic()
Deprecated.
|
String |
getMetricName()
Deprecated.
|
String |
getNamespace()
Deprecated.
|
Number |
getPeriod()
Deprecated.
|
default Statistic |
getStatistic()
Deprecated.
|
default Unit |
getUnit()
Deprecated.
|
@Stability(value=Deprecated) @Deprecated @NotNull String getMetricName()
@Stability(value=Deprecated) @Deprecated @NotNull String getNamespace()
@Stability(value=Deprecated) @Deprecated @NotNull Number getPeriod()
@Stability(value=Deprecated) @Deprecated @Nullable default List<Dimension> getDimensions()
@Stability(value=Deprecated) @Deprecated @Nullable default String getExtendedStatistic()
@Stability(value=Deprecated) @Deprecated @Nullable default Statistic getStatistic()
@Stability(value=Deprecated) @Deprecated @Nullable default Unit getUnit()
@Stability(value=Deprecated) @Deprecated static MetricAlarmConfig.Builder builder()
MetricAlarmConfig.Builder of MetricAlarmConfigCopyright © 2023. All rights reserved.