Class CfnFleetMetric.AggregationTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnFleetMetric.AggregationTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetMetric.AggregationTypeProperty>
- Enclosing interface:
CfnFleetMetric.AggregationTypeProperty
@Stability(Stable)
public static final class CfnFleetMetric.AggregationTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetMetric.AggregationTypeProperty>
A builder for
CfnFleetMetric.AggregationTypeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFleetMetric.AggregationTypeProperty.getName()
Sets the value ofCfnFleetMetric.AggregationTypeProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFleetMetric.AggregationTypeProperty.getName()
- Parameters:
name
- The name of the aggregation type. This parameter is required.- Returns:
this
-
values
@Stability(Stable) public CfnFleetMetric.AggregationTypeProperty.Builder values(List<String> values) Sets the value ofCfnFleetMetric.AggregationTypeProperty.getValues()
- Parameters:
values
- A list of the values of aggregation types. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFleetMetric.AggregationTypeProperty>
- Returns:
- a new instance of
CfnFleetMetric.AggregationTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-