Class CfnMetricStream.MetricStreamStatisticsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricStream.MetricStreamStatisticsConfigurationProperty>
- Enclosing interface:
CfnMetricStream.MetricStreamStatisticsConfigurationProperty
@Stability(Stable)
public static final class CfnMetricStream.MetricStreamStatisticsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricStream.MetricStreamStatisticsConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalStatistics
(List<String> additionalStatistics) build()
Builds the configured instance.includeMetrics
(List<? extends Object> includeMetrics) includeMetrics
(IResolvable includeMetrics)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalStatistics
@Stability(Stable) public CfnMetricStream.MetricStreamStatisticsConfigurationProperty.Builder additionalStatistics(List<String> additionalStatistics) Sets the value ofCfnMetricStream.MetricStreamStatisticsConfigurationProperty.getAdditionalStatistics()
- Parameters:
additionalStatistics
- The additional statistics to stream for the metrics listed inIncludeMetrics
. This parameter is required.- Returns:
this
-
includeMetrics
@Stability(Stable) public CfnMetricStream.MetricStreamStatisticsConfigurationProperty.Builder includeMetrics(IResolvable includeMetrics) - Parameters:
includeMetrics
- An array that defines the metrics that are to have additional statistics streamed. This parameter is required.- Returns:
this
-
includeMetrics
@Stability(Stable) public CfnMetricStream.MetricStreamStatisticsConfigurationProperty.Builder includeMetrics(List<? extends Object> includeMetrics) - Parameters:
includeMetrics
- An array that defines the metrics that are to have additional statistics streamed. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMetricStream.MetricStreamStatisticsConfigurationProperty>
- Returns:
- a new instance of
CfnMetricStream.MetricStreamStatisticsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-