Class CfnMetricPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnMetricPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMetricPropsMixin>
- Enclosing class:
CfnMetricPropsMixin
@Stability(Stable)
public static final class CfnMetricPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMetricPropsMixin>
A fluent builder for
CfnMetricPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnMetricPropsMixin.Buildercreate()static CfnMetricPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) The description of the custom metric.instanceArn(String instanceArn) The identifier of the Amazon Connect instance.metricCalculation(CfnMetricPropsMixin.MetricCalculationProperty metricCalculation) The calculation configuration for the metric.metricCalculation(IResolvable metricCalculation) The calculation configuration for the metric.The name of the custom metric.positiveTrendIndicator(String positiveTrendIndicator) Indicates how to classify a positive trend in metric data on the UI.The status of the custom metric.One or more tags.Display unit for the metric data.
-
Method Details
-
create
@Stability(Stable) public static CfnMetricPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMetricPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMetricPropsMixin.Builder.
-
description
The description of the custom metric.- Parameters:
description- The description of the custom metric. This parameter is required.- Returns:
this- See Also:
-
instanceArn
The identifier of the Amazon Connect instance.- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this- See Also:
-
metricCalculation
@Stability(Stable) public CfnMetricPropsMixin.Builder metricCalculation(IResolvable metricCalculation) The calculation configuration for the metric.- Parameters:
metricCalculation- The calculation configuration for the metric. This parameter is required.- Returns:
this- See Also:
-
metricCalculation
@Stability(Stable) public CfnMetricPropsMixin.Builder metricCalculation(CfnMetricPropsMixin.MetricCalculationProperty metricCalculation) The calculation configuration for the metric.- Parameters:
metricCalculation- The calculation configuration for the metric. This parameter is required.- Returns:
this- See Also:
-
name
The name of the custom metric.- Parameters:
name- The name of the custom metric. This parameter is required.- Returns:
this- See Also:
-
positiveTrendIndicator
@Stability(Stable) public CfnMetricPropsMixin.Builder positiveTrendIndicator(String positiveTrendIndicator) Indicates how to classify a positive trend in metric data on the UI.- Parameters:
positiveTrendIndicator- Indicates how to classify a positive trend in metric data on the UI. This parameter is required.- Returns:
this- See Also:
-
status
The status of the custom metric.- Parameters:
status- The status of the custom metric. This parameter is required.- Returns:
this- See Also:
-
tags
One or more tags.- Parameters:
tags- One or more tags. This parameter is required.- Returns:
this- See Also:
-
unit
Display unit for the metric data.- Parameters:
unit- Display unit for the metric data. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMetricPropsMixin>- Returns:
- a newly built instance of
CfnMetricPropsMixin.
-