io.github.cdklabs.cdk.appflow.OperationBase Maven / Gradle / Ivy
The newest version!
package io.github.cdklabs.cdk.appflow;
/**
* (experimental) A base class for all operations.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-23T07:35:38.265Z")
@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.OperationBase")
public abstract class OperationBase extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.appflow.IOperation {
protected OperationBase(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected OperationBase(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param tasks This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected OperationBase(final @org.jetbrains.annotations.NotNull java.util.List tasks) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(tasks, "tasks is required") });
}
/**
* @param flow This parameter is required.
* @param source This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public @org.jetbrains.annotations.NotNull java.util.List bind(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.IFlow flow, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ISource source) {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appflow.CfnFlow.TaskProperty.class)), new Object[] { java.util.Objects.requireNonNull(flow, "flow is required"), java.util.Objects.requireNonNull(source, "source 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.cdk.appflow.OperationBase implements io.github.cdklabs.cdk.appflow.IOperation.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
}
}