@Stability(value=Experimental) public static final class MetricExpressionConfig.Builder extends Object implements software.amazon.jsii.Builder<MetricExpressionConfig>
MetricExpressionConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MetricExpressionConfig |
build()
Builds the configured instance.
|
MetricExpressionConfig.Builder |
expression(String expression)
Sets the value of
MetricExpressionConfig.getExpression() |
MetricExpressionConfig.Builder |
period(Number period)
Sets the value of
MetricExpressionConfig.getPeriod() |
MetricExpressionConfig.Builder |
usingMetrics(Map<String,? extends IMetric> usingMetrics)
Sets the value of
MetricExpressionConfig.getUsingMetrics() |
@Stability(value=Experimental) public MetricExpressionConfig.Builder expression(String expression)
MetricExpressionConfig.getExpression()expression - Math expression for the metric. This parameter is required.this@Stability(value=Experimental) public MetricExpressionConfig.Builder period(Number period)
MetricExpressionConfig.getPeriod()period - How many seconds to aggregate over. This parameter is required.this@Stability(value=Experimental) public MetricExpressionConfig.Builder usingMetrics(Map<String,? extends IMetric> usingMetrics)
MetricExpressionConfig.getUsingMetrics()usingMetrics - Metrics used in the math expression. This parameter is required.this@Stability(value=Experimental) public MetricExpressionConfig build()
build in interface software.amazon.jsii.Builder<MetricExpressionConfig>MetricExpressionConfigNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.