software.amazon.awscdk.services.cloudwatch.IMetric Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudwatch Show documentation
Show all versions of cloudwatch Show documentation
The CDK Construct Library for AWS::CloudWatch
package software.amazon.awscdk.services.cloudwatch;
/**
* Interface for metrics.
*/
@javax.annotation.Generated(value = "jsii-pacmak/0.19.0 (build 7c562bc)", date = "2019-10-22T08:20:38.286Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface IMetric extends software.amazon.jsii.JsiiSerializable {
/**
* Turn this metric object into an alarm configuration.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
software.amazon.awscdk.services.cloudwatch.MetricAlarmConfig toAlarmConfig();
/**
* Turn this metric object into a graph configuration.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
software.amazon.awscdk.services.cloudwatch.MetricGraphConfig toGraphConfig();
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
final static class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.cloudwatch.IMetric {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.setObjRef(objRef);
}
/**
* Turn this metric object into an alarm configuration.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public software.amazon.awscdk.services.cloudwatch.MetricAlarmConfig toAlarmConfig() {
return this.jsiiCall("toAlarmConfig", software.amazon.awscdk.services.cloudwatch.MetricAlarmConfig.class);
}
/**
* Turn this metric object into a graph configuration.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public software.amazon.awscdk.services.cloudwatch.MetricGraphConfig toGraphConfig() {
return this.jsiiCall("toGraphConfig", software.amazon.awscdk.services.cloudwatch.MetricGraphConfig.class);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy