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

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

package io.github.randyridgley.cdk.datalake.constructs;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.58.0 (build f8ba112)", date = "2022-05-10T19:23:44.605Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = io.github.randyridgley.cdk.datalake.constructs.$Module.class, fqn = "@randyridgley/cdk-datalake-constructs.DataProduct")
public class DataProduct extends software.amazon.jsii.JsiiObject implements software.constructs.IDependable {

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

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

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public DataProduct(final @org.jetbrains.annotations.NotNull io.github.randyridgley.cdk.datalake.constructs.DataProductProperties 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.Stable)
    public @org.jetbrains.annotations.NotNull java.lang.String getAccountId() {
        return software.amazon.jsii.Kernel.get(this, "accountId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.NotNull java.util.List getPipelines() {
        return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "pipelines", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.Pipeline.class))));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.Nullable java.lang.String getDataCatalogAccountId() {
        return software.amazon.jsii.Kernel.get(this, "dataCatalogAccountId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.s3.BucketProps getS3BucketProps() {
        return software.amazon.jsii.Kernel.get(this, "s3BucketProps", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.s3.BucketProps.class));
    }

    /**
     * A fluent builder for {@link io.github.randyridgley.cdk.datalake.constructs.DataProduct}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    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.Stable)
        public static Builder create() {
            return new Builder();
        }

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

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

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

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

        /**
         * @return {@code this}
         * @param pipelines This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        public Builder pipelines(final java.util.List pipelines) {
            this.props.pipelines(pipelines);
            return this;
        }

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

        /**
         * @return {@code this}
         * @param s3BucketProps This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        public Builder s3BucketProps(final software.amazon.awscdk.services.s3.BucketProps s3BucketProps) {
            this.props.s3BucketProps(s3BucketProps);
            return this;
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy