io.github.cdklabs.cdkmonitoringconstructs.ExtendDedupeString Maven / Gradle / Ivy
package io.github.cdklabs.cdkmonitoringconstructs;
/**
* (experimental) Dedupe string processor that adds prefix and/or suffix to the dedupe string.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-24T17:32:51.945Z")
@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.ExtendDedupeString")
public class ExtendDedupeString extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdkmonitoringconstructs.IAlarmDedupeStringProcessor {
protected ExtendDedupeString(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected ExtendDedupeString(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param prefix
* @param suffix
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public ExtendDedupeString(final @org.jetbrains.annotations.Nullable java.lang.String prefix, final @org.jetbrains.annotations.Nullable java.lang.String suffix) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { prefix, suffix });
}
/**
* @param prefix
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public ExtendDedupeString(final @org.jetbrains.annotations.Nullable java.lang.String prefix) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { prefix });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public ExtendDedupeString() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Process the dedupe string which was auto-generated.
*
* @param dedupeString This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.lang.String processDedupeString(final @org.jetbrains.annotations.NotNull java.lang.String dedupeString) {
return software.amazon.jsii.Kernel.call(this, "processDedupeString", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { java.util.Objects.requireNonNull(dedupeString, "dedupeString is required") });
}
/**
* (experimental) Process the dedupe string which was specified by the user as an override.
*
* @param dedupeString This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.lang.String processDedupeStringOverride(final @org.jetbrains.annotations.NotNull java.lang.String dedupeString) {
return software.amazon.jsii.Kernel.call(this, "processDedupeStringOverride", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { java.util.Objects.requireNonNull(dedupeString, "dedupeString is required") });
}
}