All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.cdklabs.cdk.appflow.WriteOperation Maven / Gradle / Ivy

There is a newer version: 0.0.44
Show newest version
package io.github.cdklabs.cdk.appflow;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-11T10:39:08.299Z")
@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.WriteOperation")
public class WriteOperation extends software.amazon.jsii.JsiiObject {

    protected WriteOperation(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected WriteOperation(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * @param type This parameter is required.
     * @param ids
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public WriteOperation(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperationType type, final @org.jetbrains.annotations.Nullable java.util.List ids) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(type, "type is required"), ids });
    }

    /**
     * @param type This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public WriteOperation(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperationType type) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(type, "type is required") });
    }

    /**
     * @param ids
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation delete(final @org.jetbrains.annotations.Nullable java.util.List ids) {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "delete", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class), new Object[] { ids });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation delete() {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "delete", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class));
    }

    /**
     * @param ids
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation insert(final @org.jetbrains.annotations.Nullable java.util.List ids) {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "insert", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class), new Object[] { ids });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation insert() {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "insert", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class));
    }

    /**
     * @param ids
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation update(final @org.jetbrains.annotations.Nullable java.util.List ids) {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "update", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class), new Object[] { ids });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation update() {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "update", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class));
    }

    /**
     * @param ids
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation upsert(final @org.jetbrains.annotations.Nullable java.util.List ids) {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "upsert", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class), new Object[] { ids });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperation upsert() {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.WriteOperation.class, "upsert", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperation.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.WriteOperationType getType() {
        return software.amazon.jsii.Kernel.get(this, "type", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.WriteOperationType.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable java.util.List getIds() {
        return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "ids", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy