@Stability(value=Stable) public static final class CfnAnomalyDetector.MetricStatProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAnomalyDetector.MetricStatProperty>
CfnAnomalyDetector.MetricStatProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAnomalyDetector.MetricStatProperty |
build()
Builds the configured instance.
|
CfnAnomalyDetector.MetricStatProperty.Builder |
metric(CfnAnomalyDetector.MetricProperty metric)
Sets the value of
CfnAnomalyDetector.MetricStatProperty.getMetric() |
CfnAnomalyDetector.MetricStatProperty.Builder |
metric(IResolvable metric)
Sets the value of
CfnAnomalyDetector.MetricStatProperty.getMetric() |
CfnAnomalyDetector.MetricStatProperty.Builder |
period(Number period)
Sets the value of
CfnAnomalyDetector.MetricStatProperty.getPeriod() |
CfnAnomalyDetector.MetricStatProperty.Builder |
stat(String stat)
Sets the value of
CfnAnomalyDetector.MetricStatProperty.getStat() |
CfnAnomalyDetector.MetricStatProperty.Builder |
unit(String unit)
Sets the value of
CfnAnomalyDetector.MetricStatProperty.getUnit() |
@Stability(value=Stable) public CfnAnomalyDetector.MetricStatProperty.Builder metric(CfnAnomalyDetector.MetricProperty metric)
CfnAnomalyDetector.MetricStatProperty.getMetric()metric - `CfnAnomalyDetector.MetricStatProperty.Metric`. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.MetricStatProperty.Builder metric(IResolvable metric)
CfnAnomalyDetector.MetricStatProperty.getMetric()metric - `CfnAnomalyDetector.MetricStatProperty.Metric`. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.MetricStatProperty.Builder period(Number period)
CfnAnomalyDetector.MetricStatProperty.getPeriod()period - `CfnAnomalyDetector.MetricStatProperty.Period`. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.MetricStatProperty.Builder stat(String stat)
CfnAnomalyDetector.MetricStatProperty.getStat()stat - `CfnAnomalyDetector.MetricStatProperty.Stat`. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.MetricStatProperty.Builder unit(String unit)
CfnAnomalyDetector.MetricStatProperty.getUnit()unit - `CfnAnomalyDetector.MetricStatProperty.Unit`.this@Stability(value=Stable) public CfnAnomalyDetector.MetricStatProperty build()
build in interface software.amazon.jsii.Builder<CfnAnomalyDetector.MetricStatProperty>CfnAnomalyDetector.MetricStatPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.