io.github.cdklabs.cdk.appflow.ValidationAction Maven / Gradle / Ivy
The newest version!
package io.github.cdklabs.cdk.appflow;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-23T07:35:38.292Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.appflow.$Module.class, fqn = "@cdklabs/cdk-appflow.ValidationAction")
public class ValidationAction extends software.amazon.jsii.JsiiObject {
protected ValidationAction(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected ValidationAction(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param action This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected ValidationAction(final @org.jetbrains.annotations.NotNull java.lang.String action) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(action, "action is required") });
}
/**
* @return a
* @see ValidationAction that removes a record from the flow execution result
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ValidationAction ignoreRecord() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.ValidationAction.class, "ignoreRecord", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.ValidationAction.class));
}
/**
* @return a
* @see ValidationAction that terminates the whole flow execution
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ValidationAction terminateFlow() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.ValidationAction.class, "terminateFlow", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.ValidationAction.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.String getAction() {
return software.amazon.jsii.Kernel.get(this, "action", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}