@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.302Z") @Stability(value=Deprecated) @Deprecated public interface MetricGraphConfig 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;
MetricGraphConfig metricGraphConfig = MetricGraphConfig.builder()
.metricName("metricName")
.namespace("namespace")
.period(123)
.renderingProperties(MetricRenderingProperties.builder()
.period(123)
// the properties below are optional
.color("color")
.label("label")
.stat("stat")
.build())
// the properties below are optional
.color("color")
.dimensions(List.of(Dimension.builder()
.name("name")
.value(value)
.build()))
.label("label")
.statistic("statistic")
.unit(Unit.SECONDS)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
MetricGraphConfig.Builder
Deprecated.
|
static class |
MetricGraphConfig.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricGraphConfig.Builder |
builder()
Deprecated.
|
default String |
getColor()
Deprecated.
Use `color` in `renderingProperties`
|
default List<Dimension> |
getDimensions()
Deprecated.
|
default String |
getLabel()
Deprecated.
Use `label` in `renderingProperties`
|
String |
getMetricName()
Deprecated.
|
String |
getNamespace()
Deprecated.
|
Number |
getPeriod()
Deprecated.
Use `period` in `renderingProperties`
|
MetricRenderingProperties |
getRenderingProperties()
Deprecated.
|
default String |
getStatistic()
Deprecated.
Use `stat` in `renderingProperties`
|
default Unit |
getUnit()
Deprecated.
not used in dashboard widgets
|
@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 @NotNull MetricRenderingProperties getRenderingProperties()
@Stability(value=Deprecated) @Deprecated @Nullable default String getColor()
@Stability(value=Deprecated) @Deprecated @Nullable default List<Dimension> getDimensions()
@Stability(value=Deprecated) @Deprecated @Nullable default String getLabel()
@Stability(value=Deprecated) @Deprecated @Nullable default String getStatistic()
@Stability(value=Deprecated) @Deprecated @Nullable default Unit getUnit()
@Stability(value=Deprecated) @Deprecated static MetricGraphConfig.Builder builder()
MetricGraphConfig.Builder of MetricGraphConfigCopyright © 2023. All rights reserved.