Interface CfnMetric.CalculationComponentProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMetric.CalculationComponentProperty.Jsii$Proxy
Enclosing class:
CfnMetric

@Stability(Stable) public static interface CfnMetric.CalculationComponentProperty extends software.amazon.jsii.JsiiSerializable
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.connect.*;
 CalculationComponentProperty calculationComponentProperty = CalculationComponentProperty.builder()
         .alias("alias")
         // the properties below are optional
         .metricFilters(List.of(MetricFilterProperty.builder()
                 .metricFilterKey("metricFilterKey")
                 // the properties below are optional
                 .booleanCondition(MetricFilterBooleanConditionProperty.builder()
                         .comparison("comparison")
                         .build())
                 .negate(false)
                 .numberCondition(MetricFilterNumberConditionProperty.builder()
                         .comparison("comparison")
                         .values(List.of(123))
                         .build())
                 .stringCondition(MetricFilterStringConditionProperty.builder()
                         .comparison("comparison")
                         .values(List.of("values"))
                         .build())
                 .build()))
         .metricId("metricId")
         .metricName("metricName")
         .build();
 

See Also: