@Stability(value=Stable) public static final class MetricConfig.Builder extends Object implements software.amazon.jsii.Builder<MetricConfig>
MetricConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MetricConfig |
build()
Builds the configured instance.
|
MetricConfig.Builder |
mathExpression(MetricExpressionConfig mathExpression)
Sets the value of
MetricConfig.getMathExpression() |
MetricConfig.Builder |
metricStat(MetricStatConfig metricStat)
Sets the value of
MetricConfig.getMetricStat() |
MetricConfig.Builder |
renderingProperties(Map<String,? extends Object> renderingProperties)
Sets the value of
MetricConfig.getRenderingProperties() |
@Stability(value=Stable) public MetricConfig.Builder mathExpression(MetricExpressionConfig mathExpression)
MetricConfig.getMathExpression()mathExpression - In case the metric is a math expression, the details of the math expression.this@Stability(value=Stable) public MetricConfig.Builder metricStat(MetricStatConfig metricStat)
MetricConfig.getMetricStat()metricStat - In case the metric represents a query, the details of the query.this@Stability(value=Stable) public MetricConfig.Builder renderingProperties(Map<String,? extends Object> renderingProperties)
MetricConfig.getRenderingProperties()renderingProperties - Additional properties which will be rendered if the metric is used in a dashboard.
Examples are 'label' and 'color', but any key in here will be
added to dashboard graphs.this@Stability(value=Stable) public MetricConfig build()
build in interface software.amazon.jsii.Builder<MetricConfig>MetricConfigNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.