Interface MetricReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:21.624Z")
@Stability(Stable)
public interface MetricReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Metric resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.connect.*;
MetricReference metricReference = MetricReference.builder()
.metricArn("metricArn")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forMetricReferencestatic final classAn implementation forMetricReference -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricReference.Builderbuilder()The MetricArn of the Metric resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetricArn
The MetricArn of the Metric resource. -
builder
- Returns:
- a
MetricReference.BuilderofMetricReference
-