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

com.hashicorp.cdktf.providers.snowflake.pipe.Pipe Maven / Gradle / Ivy

The newest version!
package com.hashicorp.cdktf.providers.snowflake.pipe;

/**
 * Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe snowflake_pipe}.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-08-03T03:24:50.530Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.providers.snowflake.$Module.class, fqn = "@cdktf/provider-snowflake.pipe.Pipe")
public class Pipe extends com.hashicorp.cdktf.TerraformResource {

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

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

    static {
        TF_RESOURCE_TYPE = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.hashicorp.cdktf.providers.snowflake.pipe.Pipe.class, "tfResourceType", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe snowflake_pipe} Resource.
     * 

* @param scope The scope in which to define this construct. This parameter is required. * @param id The scoped construct ID. This parameter is required. * @param config This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Pipe(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.providers.snowflake.pipe.PipeConfig config) { 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(config, "config is required") }); } /** * Generates CDKTF code for importing a Pipe resource upon running "cdktf plan ". *

* @param scope The scope in which to define this construct. This parameter is required. * @param importToId The construct id used in the generated config for the Pipe to import. This parameter is required. * @param importFromId The id of the existing Pipe that should be imported. This parameter is required. * @param provider ? Optional instance of the provider where the Pipe to import is found. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.ImportableResource generateConfigForImport(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String importToId, final @org.jetbrains.annotations.NotNull java.lang.String importFromId, final @org.jetbrains.annotations.Nullable com.hashicorp.cdktf.TerraformProvider provider) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(com.hashicorp.cdktf.providers.snowflake.pipe.Pipe.class, "generateConfigForImport", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.ImportableResource.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(importToId, "importToId is required"), java.util.Objects.requireNonNull(importFromId, "importFromId is required"), provider }); } /** * Generates CDKTF code for importing a Pipe resource upon running "cdktf plan ". *

* @param scope The scope in which to define this construct. This parameter is required. * @param importToId The construct id used in the generated config for the Pipe to import. This parameter is required. * @param importFromId The id of the existing Pipe that should be imported. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.ImportableResource generateConfigForImport(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String importToId, final @org.jetbrains.annotations.NotNull java.lang.String importFromId) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(com.hashicorp.cdktf.providers.snowflake.pipe.Pipe.class, "generateConfigForImport", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.ImportableResource.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(importToId, "importToId is required"), java.util.Objects.requireNonNull(importFromId, "importFromId is required") }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void resetAutoIngest() { software.amazon.jsii.Kernel.call(this, "resetAutoIngest", software.amazon.jsii.NativeType.VOID); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void resetAwsSnsTopicArn() { software.amazon.jsii.Kernel.call(this, "resetAwsSnsTopicArn", software.amazon.jsii.NativeType.VOID); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void resetComment() { software.amazon.jsii.Kernel.call(this, "resetComment", software.amazon.jsii.NativeType.VOID); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void resetErrorIntegration() { software.amazon.jsii.Kernel.call(this, "resetErrorIntegration", software.amazon.jsii.NativeType.VOID); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void resetId() { software.amazon.jsii.Kernel.call(this, "resetId", software.amazon.jsii.NativeType.VOID); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void resetIntegration() { software.amazon.jsii.Kernel.call(this, "resetIntegration", software.amazon.jsii.NativeType.VOID); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override protected @org.jetbrains.annotations.NotNull java.util.Map synthesizeAttributes() { return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "synthesizeAttributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override protected @org.jetbrains.annotations.NotNull java.util.Map synthesizeHclAttributes() { return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "synthesizeHclAttributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static java.lang.String TF_RESOURCE_TYPE; /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getNotificationChannel() { return software.amazon.jsii.Kernel.get(this, "notificationChannel", 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 getOwner() { return software.amazon.jsii.Kernel.get(this, "owner", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.Object getAutoIngestInput() { return software.amazon.jsii.Kernel.get(this, "autoIngestInput", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getAwsSnsTopicArnInput() { return software.amazon.jsii.Kernel.get(this, "awsSnsTopicArnInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getCommentInput() { return software.amazon.jsii.Kernel.get(this, "commentInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getCopyStatementInput() { return software.amazon.jsii.Kernel.get(this, "copyStatementInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getDatabaseInput() { return software.amazon.jsii.Kernel.get(this, "databaseInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getErrorIntegrationInput() { return software.amazon.jsii.Kernel.get(this, "errorIntegrationInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getIdInput() { return software.amazon.jsii.Kernel.get(this, "idInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getIntegrationInput() { return software.amazon.jsii.Kernel.get(this, "integrationInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getNameInput() { return software.amazon.jsii.Kernel.get(this, "nameInput", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getSchemaInput() { return software.amazon.jsii.Kernel.get(this, "schemaInput", 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.Object getAutoIngest() { return software.amazon.jsii.Kernel.get(this, "autoIngest", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setAutoIngest(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) { software.amazon.jsii.Kernel.set(this, "autoIngest", java.util.Objects.requireNonNull(value, "autoIngest is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setAutoIngest(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IResolvable value) { software.amazon.jsii.Kernel.set(this, "autoIngest", java.util.Objects.requireNonNull(value, "autoIngest is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getAwsSnsTopicArn() { return software.amazon.jsii.Kernel.get(this, "awsSnsTopicArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setAwsSnsTopicArn(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "awsSnsTopicArn", java.util.Objects.requireNonNull(value, "awsSnsTopicArn is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getComment() { return software.amazon.jsii.Kernel.get(this, "comment", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setComment(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "comment", java.util.Objects.requireNonNull(value, "comment is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getCopyStatement() { return software.amazon.jsii.Kernel.get(this, "copyStatement", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setCopyStatement(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "copyStatement", java.util.Objects.requireNonNull(value, "copyStatement is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getDatabase() { return software.amazon.jsii.Kernel.get(this, "database", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setDatabase(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "database", java.util.Objects.requireNonNull(value, "database is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getErrorIntegration() { return software.amazon.jsii.Kernel.get(this, "errorIntegration", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setErrorIntegration(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "errorIntegration", java.util.Objects.requireNonNull(value, "errorIntegration is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getId() { return software.amazon.jsii.Kernel.get(this, "id", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setId(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "id", java.util.Objects.requireNonNull(value, "id is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getIntegration() { return software.amazon.jsii.Kernel.get(this, "integration", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setIntegration(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "integration", java.util.Objects.requireNonNull(value, "integration is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) 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.Stable) public void setName(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "name", java.util.Objects.requireNonNull(value, "name is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getSchema() { return software.amazon.jsii.Kernel.get(this, "schema", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setSchema(final @org.jetbrains.annotations.NotNull java.lang.String value) { software.amazon.jsii.Kernel.set(this, "schema", java.util.Objects.requireNonNull(value, "schema is required")); } /** * A fluent builder for {@link com.hashicorp.cdktf.providers.snowflake.pipe.Pipe}. */ @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}. * @param scope The scope in which to define this construct. This parameter is required. * @param id The scoped construct ID. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static Builder create(final software.constructs.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.constructs.Construct scope; private final java.lang.String id; private final com.hashicorp.cdktf.providers.snowflake.pipe.PipeConfig.Builder config; private Builder(final software.constructs.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.config = new com.hashicorp.cdktf.providers.snowflake.pipe.PipeConfig.Builder(); } /** * @return {@code this} * @param connection This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder connection(final com.hashicorp.cdktf.SSHProvisionerConnection connection) { this.config.connection(connection); return this; } /** * @return {@code this} * @param connection This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder connection(final com.hashicorp.cdktf.WinrmProvisionerConnection connection) { this.config.connection(connection); return this; } /** * @return {@code this} * @param count This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder count(final java.lang.Number count) { this.config.count(count); return this; } /** * @return {@code this} * @param count This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder count(final com.hashicorp.cdktf.TerraformCount count) { this.config.count(count); return this; } /** * @return {@code this} * @param dependsOn This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder dependsOn(final java.util.List dependsOn) { this.config.dependsOn(dependsOn); return this; } /** * @return {@code this} * @param forEach This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder forEach(final com.hashicorp.cdktf.ITerraformIterator forEach) { this.config.forEach(forEach); return this; } /** * @return {@code this} * @param lifecycle This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder lifecycle(final com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle) { this.config.lifecycle(lifecycle); return this; } /** * @return {@code this} * @param provider This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder provider(final com.hashicorp.cdktf.TerraformProvider provider) { this.config.provider(provider); return this; } /** * @return {@code this} * @param provisioners This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder provisioners(final java.util.List provisioners) { this.config.provisioners(provisioners); return this; } /** * Specifies the copy statement for the pipe. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#copy_statement Pipe#copy_statement} *

* @return {@code this} * @param copyStatement Specifies the copy statement for the pipe. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder copyStatement(final java.lang.String copyStatement) { this.config.copyStatement(copyStatement); return this; } /** * The database in which to create the pipe. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#database Pipe#database} *

* @return {@code this} * @param database The database in which to create the pipe. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder database(final java.lang.String database) { this.config.database(database); return this; } /** * Specifies the identifier for the pipe; *

* must be unique for the database and schema in which the pipe is created. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#name Pipe#name} *

* @return {@code this} * @param name Specifies the identifier for the pipe;. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder name(final java.lang.String name) { this.config.name(name); return this; } /** * The schema in which to create the pipe. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#schema Pipe#schema} *

* @return {@code this} * @param schema The schema in which to create the pipe. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder schema(final java.lang.String schema) { this.config.schema(schema); return this; } /** * Specifies a auto_ingest param for the pipe. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#auto_ingest Pipe#auto_ingest} *

* @return {@code this} * @param autoIngest Specifies a auto_ingest param for the pipe. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder autoIngest(final java.lang.Boolean autoIngest) { this.config.autoIngest(autoIngest); return this; } /** * Specifies a auto_ingest param for the pipe. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#auto_ingest Pipe#auto_ingest} *

* @return {@code this} * @param autoIngest Specifies a auto_ingest param for the pipe. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder autoIngest(final com.hashicorp.cdktf.IResolvable autoIngest) { this.config.autoIngest(autoIngest); return this; } /** * Specifies the Amazon Resource Name (ARN) for the SNS topic for your S3 bucket. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#aws_sns_topic_arn Pipe#aws_sns_topic_arn} *

* @return {@code this} * @param awsSnsTopicArn Specifies the Amazon Resource Name (ARN) for the SNS topic for your S3 bucket. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder awsSnsTopicArn(final java.lang.String awsSnsTopicArn) { this.config.awsSnsTopicArn(awsSnsTopicArn); return this; } /** * Specifies a comment for the pipe. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#comment Pipe#comment} *

* @return {@code this} * @param comment Specifies a comment for the pipe. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder comment(final java.lang.String comment) { this.config.comment(comment); return this; } /** * Specifies the name of the notification integration used for error notifications. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#error_integration Pipe#error_integration} *

* @return {@code this} * @param errorIntegration Specifies the name of the notification integration used for error notifications. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder errorIntegration(final java.lang.String errorIntegration) { this.config.errorIntegration(errorIntegration); return this; } /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#id Pipe#id}. *

* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. *

* @return {@code this} * @param id Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#id Pipe#id}. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder id(final java.lang.String id) { this.config.id(id); return this; } /** * Specifies an integration for the pipe. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/pipe#integration Pipe#integration} *

* @return {@code this} * @param integration Specifies an integration for the pipe. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder integration(final java.lang.String integration) { this.config.integration(integration); return this; } /** * @return a newly built instance of {@link com.hashicorp.cdktf.providers.snowflake.pipe.Pipe}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public com.hashicorp.cdktf.providers.snowflake.pipe.Pipe build() { return new com.hashicorp.cdktf.providers.snowflake.pipe.Pipe( this.scope, this.id, this.config.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy