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

io.github.randyridgley.cdk.datalake.constructs.Pipeline Maven / Gradle / Ivy

There is a newer version: 0.0.64
Show newest version
package io.github.randyridgley.cdk.datalake.constructs;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.42.0 (build 5f6b62c)", date = "2021-11-05T12:40:41.659Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.randyridgley.cdk.datalake.constructs.$Module.class, fqn = "@randyridgley/cdk-datalake-constructs.Pipeline")
public class Pipeline extends software.amazon.jsii.JsiiObject {

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

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

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull io.github.randyridgley.cdk.datalake.constructs.DataSetLocation getDataSetDropLocation() {
        return software.amazon.jsii.Kernel.get(this, "dataSetDropLocation", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.DataSetLocation.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getDestinationPrefix() {
        return software.amazon.jsii.Kernel.get(this, "destinationPrefix", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getName() {
        return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.JDBCProperties getJdbcProperties() {
        return software.amazon.jsii.Kernel.get(this, "jdbcProperties", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.JDBCProperties.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.JobProperties getJob() {
        return software.amazon.jsii.Kernel.get(this, "job", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.JobProperties.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.S3NotificationProperties getS3NotificationProps() {
        return software.amazon.jsii.Kernel.get(this, "s3NotificationProps", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.S3NotificationProperties.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.S3Properties getS3Properties() {
        return software.amazon.jsii.Kernel.get(this, "s3Properties", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.S3Properties.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.StreamProperties getStreamProperties() {
        return software.amazon.jsii.Kernel.get(this, "streamProperties", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.StreamProperties.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.TableProps getTable() {
        return software.amazon.jsii.Kernel.get(this, "table", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.TableProps.class));
    }

    /**
     * (experimental) A fluent builder for {@link io.github.randyridgley.cdk.datalake.constructs.Pipeline}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static final class Builder implements software.amazon.jsii.Builder {
        /**
         * @return a new instance of {@link Builder}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public static Builder create() {
            return new Builder();
        }

        private final io.github.randyridgley.cdk.datalake.constructs.PipelineProperties.Builder props;

        private Builder() {
            this.props = new io.github.randyridgley.cdk.datalake.constructs.PipelineProperties.Builder();
        }

        /**
         * @return {@code this}
         * @param dataSetDropLocation This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder dataSetDropLocation(final io.github.randyridgley.cdk.datalake.constructs.DataSetLocation dataSetDropLocation) {
            this.props.dataSetDropLocation(dataSetDropLocation);
            return this;
        }

        /**
         * @return {@code this}
         * @param destinationPrefix This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder destinationPrefix(final java.lang.String destinationPrefix) {
            this.props.destinationPrefix(destinationPrefix);
            return this;
        }

        /**
         * @return {@code this}
         * @param name This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder name(final java.lang.String name) {
            this.props.name(name);
            return this;
        }

        /**
         * @return {@code this}
         * @param type This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder type(final io.github.randyridgley.cdk.datalake.constructs.DataPipelineType type) {
            this.props.type(type);
            return this;
        }

        /**
         * @return {@code this}
         * @param jdbcProperties This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder jdbcProperties(final io.github.randyridgley.cdk.datalake.constructs.JDBCProperties jdbcProperties) {
            this.props.jdbcProperties(jdbcProperties);
            return this;
        }

        /**
         * @return {@code this}
         * @param job This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder job(final io.github.randyridgley.cdk.datalake.constructs.JobProperties job) {
            this.props.job(job);
            return this;
        }

        /**
         * @return {@code this}
         * @param s3NotificationProps This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder s3NotificationProps(final io.github.randyridgley.cdk.datalake.constructs.S3NotificationProperties s3NotificationProps) {
            this.props.s3NotificationProps(s3NotificationProps);
            return this;
        }

        /**
         * @return {@code this}
         * @param s3Properties This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder s3Properties(final io.github.randyridgley.cdk.datalake.constructs.S3Properties s3Properties) {
            this.props.s3Properties(s3Properties);
            return this;
        }

        /**
         * @return {@code this}
         * @param streamProperties This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder streamProperties(final io.github.randyridgley.cdk.datalake.constructs.StreamProperties streamProperties) {
            this.props.streamProperties(streamProperties);
            return this;
        }

        /**
         * @return {@code this}
         * @param table This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder table(final io.github.randyridgley.cdk.datalake.constructs.TableProps table) {
            this.props.table(table);
            return this;
        }

        /**
         * @returns a newly built instance of {@link io.github.randyridgley.cdk.datalake.constructs.Pipeline}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        @Override
        public io.github.randyridgley.cdk.datalake.constructs.Pipeline build() {
            return new io.github.randyridgley.cdk.datalake.constructs.Pipeline(
                this.props.build()
            );
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy