@Stability(value=Stable) public static final class CfnAnomalyDetector.MetricProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAnomalyDetector.MetricProperty>
CfnAnomalyDetector.MetricProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAnomalyDetector.MetricProperty.Builder |
aggregationFunction(String aggregationFunction)
Sets the value of
CfnAnomalyDetector.MetricProperty.getAggregationFunction() |
CfnAnomalyDetector.MetricProperty |
build()
Builds the configured instance.
|
CfnAnomalyDetector.MetricProperty.Builder |
metricName(String metricName)
Sets the value of
CfnAnomalyDetector.MetricProperty.getMetricName() |
CfnAnomalyDetector.MetricProperty.Builder |
namespace(String namespace)
Sets the value of
CfnAnomalyDetector.MetricProperty.getNamespace() |
@Stability(value=Stable) public CfnAnomalyDetector.MetricProperty.Builder aggregationFunction(String aggregationFunction)
CfnAnomalyDetector.MetricProperty.getAggregationFunction()aggregationFunction - The function with which the metric is calculated. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.MetricProperty.Builder metricName(String metricName)
CfnAnomalyDetector.MetricProperty.getMetricName()metricName - The name of the metric. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.MetricProperty.Builder namespace(String namespace)
CfnAnomalyDetector.MetricProperty.getNamespace()namespace - The namespace for the metric.this@Stability(value=Stable) public CfnAnomalyDetector.MetricProperty build()
build in interface software.amazon.jsii.Builder<CfnAnomalyDetector.MetricProperty>CfnAnomalyDetector.MetricPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.