io.github.cdklabs.cdkmonitoringconstructs.FillingAlarmAnnotationStrategy Maven / Gradle / Ivy
package io.github.cdklabs.cdkmonitoringconstructs;
/**
* (experimental) Annotation strategy that fills the annotation provided, using the input and user requirements.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-24T17:32:51.962Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdkmonitoringconstructs.$Module.class, fqn = "cdk-monitoring-constructs.FillingAlarmAnnotationStrategy")
public abstract class FillingAlarmAnnotationStrategy extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdkmonitoringconstructs.IAlarmAnnotationStrategy {
protected FillingAlarmAnnotationStrategy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected FillingAlarmAnnotationStrategy(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected FillingAlarmAnnotationStrategy() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Creates annotation based on the metric and alarm properties.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation createAnnotation(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmAnnotationStrategyProps props) {
return software.amazon.jsii.Kernel.call(this, "createAnnotation", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected abstract @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation createAnnotationToFill(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmAnnotationStrategyProps props);
/**
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cloudwatch.Shading getAlarmingRangeShade(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmAnnotationStrategyProps props) {
return software.amazon.jsii.Kernel.call(this, "getAlarmingRangeShade", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.Shading.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
private static final class Jsii$Proxy extends io.github.cdklabs.cdkmonitoringconstructs.FillingAlarmAnnotationStrategy implements io.github.cdklabs.cdkmonitoringconstructs.IAlarmAnnotationStrategy.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
protected final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation createAnnotationToFill(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.AlarmAnnotationStrategyProps props) {
return software.amazon.jsii.Kernel.call(this, "createAnnotationToFill", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cloudwatch.HorizontalAnnotation.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
}
}