io.github.cdklabs.cdk.appflow.IMapping Maven / Gradle / Ivy
package io.github.cdklabs.cdk.appflow;
/**
* (experimental) A representation of a mapping operation, that is an operation translating source to destination fields.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-11T10:39:08.250Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.appflow.$Module.class, fqn = "@cdklabs/cdk-appflow.IMapping")
@software.amazon.jsii.Jsii.Proxy(IMapping.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IMapping extends software.amazon.jsii.JsiiSerializable, io.github.cdklabs.cdk.appflow.IOperation {
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.appflow.IMapping.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* @param flow This parameter is required.
* @param source This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @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") }));
}
}
/**
* Internal default implementation for {@link IMapping}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IMapping, io.github.cdklabs.cdk.appflow.IOperation.Jsii$Default {
/**
* @param flow This parameter is required.
* @param source This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @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") }));
}
}
}