Class CfnMetricPropsMixin.CalculationComponentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnMetricPropsMixin.CalculationComponentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricPropsMixin.CalculationComponentProperty>
- Enclosing interface:
CfnMetricPropsMixin.CalculationComponentProperty
@Stability(Stable)
public static final class CfnMetricPropsMixin.CalculationComponentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricPropsMixin.CalculationComponentProperty>
A builder for
CfnMetricPropsMixin.CalculationComponentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getAlias()build()Builds the configured instance.metricFilters(List<? extends Object> metricFilters) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricFilters()metricFilters(IResolvable metricFilters) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricFilters()Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricId()metricName(String metricName) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alias
@Stability(Stable) public CfnMetricPropsMixin.CalculationComponentProperty.Builder alias(String alias) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getAlias()- Parameters:
alias- Metric calculation component alias for use within a calculation.- Returns:
this
-
metricFilters
@Stability(Stable) public CfnMetricPropsMixin.CalculationComponentProperty.Builder metricFilters(IResolvable metricFilters) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricFilters()- Parameters:
metricFilters- the value to be set.- Returns:
this
-
metricFilters
@Stability(Stable) public CfnMetricPropsMixin.CalculationComponentProperty.Builder metricFilters(List<? extends Object> metricFilters) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricFilters()- Parameters:
metricFilters- the value to be set.- Returns:
this
-
metricId
@Stability(Stable) public CfnMetricPropsMixin.CalculationComponentProperty.Builder metricId(String metricId) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricId()- Parameters:
metricId- the value to be set.- Returns:
this
-
metricName
@Stability(Stable) public CfnMetricPropsMixin.CalculationComponentProperty.Builder metricName(String metricName) Sets the value ofCfnMetricPropsMixin.CalculationComponentProperty.getMetricName()- Parameters:
metricName- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMetricPropsMixin.CalculationComponentProperty>- Returns:
- a new instance of
CfnMetricPropsMixin.CalculationComponentProperty - Throws:
NullPointerException- if any required attribute was not provided
-