@Stability(value=Deprecated) @Deprecated public static final class MetricGraphConfig.Builder extends Object implements software.amazon.jsii.Builder<MetricGraphConfig>
MetricGraphConfig| Constructor and Description |
|---|
Builder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
MetricGraphConfig |
build()
Deprecated.
|
MetricGraphConfig.Builder |
color(String color)
Deprecated.
Use `color` in `renderingProperties`
|
MetricGraphConfig.Builder |
dimensions(List<? extends Dimension> dimensions)
Deprecated.
|
MetricGraphConfig.Builder |
label(String label)
Deprecated.
Use `label` in `renderingProperties`
|
MetricGraphConfig.Builder |
metricName(String metricName)
Deprecated.
|
MetricGraphConfig.Builder |
namespace(String namespace)
Deprecated.
|
MetricGraphConfig.Builder |
period(Number period)
Deprecated.
Use `period` in `renderingProperties`
|
MetricGraphConfig.Builder |
renderingProperties(MetricRenderingProperties renderingProperties)
Deprecated.
|
MetricGraphConfig.Builder |
statistic(String statistic)
Deprecated.
Use `stat` in `renderingProperties`
|
MetricGraphConfig.Builder |
unit(Unit unit)
Deprecated.
not used in dashboard widgets
|
@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder metricName(String metricName)
MetricGraphConfig.getMetricName()metricName - Name of the metric. This parameter is required.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder namespace(String namespace)
MetricGraphConfig.getNamespace()namespace - Namespace of the metric. This parameter is required.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder period(Number period)
MetricGraphConfig.getPeriod()period - How many seconds to aggregate over. This parameter is required.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder renderingProperties(MetricRenderingProperties renderingProperties)
MetricGraphConfig.getRenderingProperties()renderingProperties - Rendering properties override yAxis parameter of the widget object. This parameter is required.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder color(String color)
MetricGraphConfig.getColor()color - Color for the graph line.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder dimensions(List<? extends Dimension> dimensions)
MetricGraphConfig.getDimensions()dimensions - The dimensions to apply to the alarm.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder label(String label)
MetricGraphConfig.getLabel()label - Label for the metric.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder statistic(String statistic)
MetricGraphConfig.getStatistic()statistic - Aggregation function to use (can be either simple or a percentile).this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig.Builder unit(Unit unit)
MetricGraphConfig.getUnit()unit - The unit of the alarm.this@Stability(value=Deprecated) @Deprecated public MetricGraphConfig build()
build in interface software.amazon.jsii.Builder<MetricGraphConfig>MetricGraphConfigNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.