@Stability(value=Stable) 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 |
searchAccount(String searchAccount)
Sets the value of
MetricExpressionConfig.getSearchAccount() |
MetricExpressionConfig.Builder |
searchRegion(String searchRegion)
Sets the value of
MetricExpressionConfig.getSearchRegion() |
MetricExpressionConfig.Builder |
usingMetrics(Map<String,? extends IMetric> usingMetrics)
Sets the value of
MetricExpressionConfig.getUsingMetrics() |
@Stability(value=Stable) public MetricExpressionConfig.Builder expression(String expression)
MetricExpressionConfig.getExpression()expression - Math expression for the metric. This parameter is required.this@Stability(value=Stable) public MetricExpressionConfig.Builder period(Number period)
MetricExpressionConfig.getPeriod()period - How many seconds to aggregate over. This parameter is required.this@Stability(value=Stable) 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=Stable) public MetricExpressionConfig.Builder searchAccount(String searchAccount)
MetricExpressionConfig.getSearchAccount()searchAccount - Account to evaluate search expressions within.this@Stability(value=Stable) public MetricExpressionConfig.Builder searchRegion(String searchRegion)
MetricExpressionConfig.getSearchRegion()searchRegion - Region to evaluate search expressions within.this@Stability(value=Stable) public MetricExpressionConfig build()
build in interface software.amazon.jsii.Builder<MetricExpressionConfig>MetricExpressionConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.