io.github.randyridgley.cdk.datalake.constructs.DataSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk-datalake-constructs Show documentation
Show all versions of cdk-datalake-constructs Show documentation
AWS CDK Constructs that can be used to create datalakes/meshes and more
package io.github.randyridgley.cdk.datalake.constructs;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.42.0 (build 5f6b62c)", date = "2021-11-05T12:40:41.631Z")
@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.DataSet")
public class DataSet extends software.amazon.awscdk.core.Construct {
protected DataSet(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected DataSet(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public DataSet(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull io.github.randyridgley.cdk.datalake.constructs.DataSetProperties props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), 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.DataProduct getDataProduct() {
return software.amazon.jsii.Kernel.get(this, "dataProduct", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.DataProduct.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull io.github.randyridgley.cdk.datalake.constructs.LakeType getLakeType() {
return software.amazon.jsii.Kernel.get(this, "lakeType", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.LakeType.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.Pipeline getPipeline() {
return software.amazon.jsii.Kernel.get(this, "pipeline", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.Pipeline.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.String getRawBucketName() {
return software.amazon.jsii.Kernel.get(this, "rawBucketName", 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 getRefinedBucketName() {
return software.amazon.jsii.Kernel.get(this, "refinedBucketName", 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 getTrustedBucketName() {
return software.amazon.jsii.Kernel.get(this, "trustedBucketName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.DataSetResult getDownloadLocations() {
return software.amazon.jsii.Kernel.get(this, "downloadLocations", software.amazon.jsii.NativeType.forClass(io.github.randyridgley.cdk.datalake.constructs.DataSetResult.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.Nullable io.github.randyridgley.cdk.datalake.constructs.DataSetLocation getDropLocation() {
return software.amazon.jsii.Kernel.get(this, "dropLocation", 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.Nullable software.amazon.awscdk.services.kms.Key getEncryptionKey() {
return software.amazon.jsii.Kernel.get(this, "encryptionKey", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.kms.Key.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.sns.Topic getS3NotificationTopic() {
return software.amazon.jsii.Kernel.get(this, "s3NotificationTopic", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.sns.Topic.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void setS3NotificationTopic(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.sns.Topic value) {
software.amazon.jsii.Kernel.set(this, "s3NotificationTopic", value);
}
/**
* (experimental) A fluent builder for {@link io.github.randyridgley.cdk.datalake.constructs.DataSet}.
*/
@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}.
* @param scope This parameter is required.
* @param id This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static Builder create(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) {
return new Builder(scope, id);
}
private final software.amazon.awscdk.core.Construct scope;
private final java.lang.String id;
private final io.github.randyridgley.cdk.datalake.constructs.DataSetProperties.Builder props;
private Builder(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) {
this.scope = scope;
this.id = id;
this.props = new io.github.randyridgley.cdk.datalake.constructs.DataSetProperties.Builder();
}
/**
* @return {@code this}
* @param dataProduct This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder dataProduct(final io.github.randyridgley.cdk.datalake.constructs.DataProduct dataProduct) {
this.props.dataProduct(dataProduct);
return this;
}
/**
* @return {@code this}
* @param lakeType This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder lakeType(final io.github.randyridgley.cdk.datalake.constructs.LakeType lakeType) {
this.props.lakeType(lakeType);
return this;
}
/**
* @return {@code this}
* @param logBucket This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder logBucket(final software.amazon.awscdk.services.s3.Bucket logBucket) {
this.props.logBucket(logBucket);
return this;
}
/**
* @return {@code this}
* @param pipeline This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder pipeline(final io.github.randyridgley.cdk.datalake.constructs.Pipeline pipeline) {
this.props.pipeline(pipeline);
return this;
}
/**
* @return {@code this}
* @param stage This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder stage(final io.github.randyridgley.cdk.datalake.constructs.Stage stage) {
this.props.stage(stage);
return this;
}
/**
* @return {@code this}
* @param encryptionKey This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder encryptionKey(final software.amazon.awscdk.services.kms.Key encryptionKey) {
this.props.encryptionKey(encryptionKey);
return this;
}
/**
* @return {@code this}
* @param s3BucketProps This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
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.DataSet}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public io.github.randyridgley.cdk.datalake.constructs.DataSet build() {
return new io.github.randyridgley.cdk.datalake.constructs.DataSet(
this.scope,
this.id,
this.props.build()
);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy