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

com.hashicorp.cdktf.providers.snowflake.notification_integration.NotificationIntegrationConfig Maven / Gradle / Ivy

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

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-08-03T03:24:50.482Z")
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.providers.snowflake.$Module.class, fqn = "@cdktf/provider-snowflake.notificationIntegration.NotificationIntegrationConfig")
@software.amazon.jsii.Jsii.Proxy(NotificationIntegrationConfig.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface NotificationIntegrationConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments {

    /**
     * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#name NotificationIntegration#name}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull java.lang.String getName();

    /**
     * The third-party cloud message queuing service (supported values: AZURE_STORAGE_QUEUE, AWS_SNS, GCP_PUBSUB;
     * 

* AWS_SQS is deprecated and will be removed in the future provider versions) * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#notification_provider NotificationIntegration#notification_provider} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @org.jetbrains.annotations.NotNull java.lang.String getNotificationProvider(); /** * AWS IAM role ARN for notification integration to assume. Required for AWS_SNS provider. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sns_role_arn NotificationIntegration#aws_sns_role_arn} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getAwsSnsRoleArn() { return null; } /** * AWS SNS Topic ARN for notification integration to connect to. Required for AWS_SNS provider. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sns_topic_arn NotificationIntegration#aws_sns_topic_arn} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getAwsSnsTopicArn() { return null; } /** * AWS SQS queue ARN for notification integration to connect to. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sqs_arn NotificationIntegration#aws_sqs_arn} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getAwsSqsArn() { return null; } /** * AWS IAM role ARN for notification integration to assume. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sqs_role_arn NotificationIntegration#aws_sqs_role_arn} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getAwsSqsRoleArn() { return null; } /** * The queue ID for the Azure Queue Storage queue created for Event Grid notifications. Required for AZURE_STORAGE_QUEUE provider. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#azure_storage_queue_primary_uri NotificationIntegration#azure_storage_queue_primary_uri} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getAzureStorageQueuePrimaryUri() { return null; } /** * The ID of the Azure Active Directory tenant used for identity management. Required for AZURE_STORAGE_QUEUE provider. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#azure_tenant_id NotificationIntegration#azure_tenant_id} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getAzureTenantId() { return null; } /** * A comment for the integration. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#comment NotificationIntegration#comment} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getComment() { return null; } /** * Direction of the cloud messaging with respect to Snowflake (required only for error notifications). *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#direction NotificationIntegration#direction} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getDirection() { return null; } /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#enabled NotificationIntegration#enabled}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.Object getEnabled() { return null; } /** * The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#gcp_pubsub_subscription_name NotificationIntegration#gcp_pubsub_subscription_name} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getGcpPubsubSubscriptionName() { return null; } /** * The topic id that Snowflake will use to push notifications. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#gcp_pubsub_topic_name NotificationIntegration#gcp_pubsub_topic_name} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getGcpPubsubTopicName() { return null; } /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#id NotificationIntegration#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. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getId() { return null; } /** * A type of integration. *

* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#type NotificationIntegration#type} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getType() { return null; } /** * @return a {@link Builder} of {@link NotificationIntegrationConfig} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) static Builder builder() { return new Builder(); } /** * A builder for {@link NotificationIntegrationConfig} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { java.lang.String name; java.lang.String notificationProvider; java.lang.String awsSnsRoleArn; java.lang.String awsSnsTopicArn; java.lang.String awsSqsArn; java.lang.String awsSqsRoleArn; java.lang.String azureStorageQueuePrimaryUri; java.lang.String azureTenantId; java.lang.String comment; java.lang.String direction; java.lang.Object enabled; java.lang.String gcpPubsubSubscriptionName; java.lang.String gcpPubsubTopicName; java.lang.String id; java.lang.String type; java.lang.Object connection; java.lang.Object count; java.util.List dependsOn; com.hashicorp.cdktf.ITerraformIterator forEach; com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle; com.hashicorp.cdktf.TerraformProvider provider; java.util.List provisioners; /** * Sets the value of {@link NotificationIntegrationConfig#getName} * @param name Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#name NotificationIntegration#name}. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder name(java.lang.String name) { this.name = name; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getNotificationProvider} * @param notificationProvider The third-party cloud message queuing service (supported values: AZURE_STORAGE_QUEUE, AWS_SNS, GCP_PUBSUB;. This parameter is required. * AWS_SQS is deprecated and will be removed in the future provider versions) * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#notification_provider NotificationIntegration#notification_provider} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder notificationProvider(java.lang.String notificationProvider) { this.notificationProvider = notificationProvider; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getAwsSnsRoleArn} * @param awsSnsRoleArn AWS IAM role ARN for notification integration to assume. Required for AWS_SNS provider. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sns_role_arn NotificationIntegration#aws_sns_role_arn} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder awsSnsRoleArn(java.lang.String awsSnsRoleArn) { this.awsSnsRoleArn = awsSnsRoleArn; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getAwsSnsTopicArn} * @param awsSnsTopicArn AWS SNS Topic ARN for notification integration to connect to. Required for AWS_SNS provider. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sns_topic_arn NotificationIntegration#aws_sns_topic_arn} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder awsSnsTopicArn(java.lang.String awsSnsTopicArn) { this.awsSnsTopicArn = awsSnsTopicArn; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getAwsSqsArn} * @param awsSqsArn AWS SQS queue ARN for notification integration to connect to. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sqs_arn NotificationIntegration#aws_sqs_arn} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder awsSqsArn(java.lang.String awsSqsArn) { this.awsSqsArn = awsSqsArn; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getAwsSqsRoleArn} * @param awsSqsRoleArn AWS IAM role ARN for notification integration to assume. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#aws_sqs_role_arn NotificationIntegration#aws_sqs_role_arn} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder awsSqsRoleArn(java.lang.String awsSqsRoleArn) { this.awsSqsRoleArn = awsSqsRoleArn; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getAzureStorageQueuePrimaryUri} * @param azureStorageQueuePrimaryUri The queue ID for the Azure Queue Storage queue created for Event Grid notifications. Required for AZURE_STORAGE_QUEUE provider. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#azure_storage_queue_primary_uri NotificationIntegration#azure_storage_queue_primary_uri} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder azureStorageQueuePrimaryUri(java.lang.String azureStorageQueuePrimaryUri) { this.azureStorageQueuePrimaryUri = azureStorageQueuePrimaryUri; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getAzureTenantId} * @param azureTenantId The ID of the Azure Active Directory tenant used for identity management. Required for AZURE_STORAGE_QUEUE provider. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#azure_tenant_id NotificationIntegration#azure_tenant_id} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder azureTenantId(java.lang.String azureTenantId) { this.azureTenantId = azureTenantId; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getComment} * @param comment A comment for the integration. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#comment NotificationIntegration#comment} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder comment(java.lang.String comment) { this.comment = comment; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getDirection} * @param direction Direction of the cloud messaging with respect to Snowflake (required only for error notifications). * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#direction NotificationIntegration#direction} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder direction(java.lang.String direction) { this.direction = direction; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getEnabled} * @param enabled Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#enabled NotificationIntegration#enabled}. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder enabled(java.lang.Boolean enabled) { this.enabled = enabled; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getEnabled} * @param enabled Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#enabled NotificationIntegration#enabled}. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder enabled(com.hashicorp.cdktf.IResolvable enabled) { this.enabled = enabled; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getGcpPubsubSubscriptionName} * @param gcpPubsubSubscriptionName The subscription id that Snowflake will listen to when using the GCP_PUBSUB provider. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#gcp_pubsub_subscription_name NotificationIntegration#gcp_pubsub_subscription_name} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder gcpPubsubSubscriptionName(java.lang.String gcpPubsubSubscriptionName) { this.gcpPubsubSubscriptionName = gcpPubsubSubscriptionName; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getGcpPubsubTopicName} * @param gcpPubsubTopicName The topic id that Snowflake will use to push notifications. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#gcp_pubsub_topic_name NotificationIntegration#gcp_pubsub_topic_name} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder gcpPubsubTopicName(java.lang.String gcpPubsubTopicName) { this.gcpPubsubTopicName = gcpPubsubTopicName; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getId} * @param id Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#id NotificationIntegration#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} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder id(java.lang.String id) { this.id = id; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getType} * @param type A type of integration. * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.94.1/docs/resources/notification_integration#type NotificationIntegration#type} * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder type(java.lang.String type) { this.type = type; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getConnection} * @param connection the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection) { this.connection = connection; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getConnection} * @param connection the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection) { this.connection = connection; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getCount} * @param count the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder count(java.lang.Number count) { this.count = count; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getCount} * @param count the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder count(com.hashicorp.cdktf.TerraformCount count) { this.count = count; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getDependsOn} * @param dependsOn the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @SuppressWarnings("unchecked") public Builder dependsOn(java.util.List dependsOn) { this.dependsOn = (java.util.List)dependsOn; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getForEach} * @param forEach the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach) { this.forEach = forEach; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getLifecycle} * @param lifecycle the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle) { this.lifecycle = lifecycle; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getProvider} * @param provider the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder provider(com.hashicorp.cdktf.TerraformProvider provider) { this.provider = provider; return this; } /** * Sets the value of {@link NotificationIntegrationConfig#getProvisioners} * @param provisioners the value to be set. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @SuppressWarnings("unchecked") public Builder provisioners(java.util.List provisioners) { this.provisioners = (java.util.List)provisioners; return this; } /** * Builds the configured instance. * @return a new instance of {@link NotificationIntegrationConfig} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public NotificationIntegrationConfig build() { return new Jsii$Proxy(this); } } /** * An implementation for {@link NotificationIntegrationConfig} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NotificationIntegrationConfig { private final java.lang.String name; private final java.lang.String notificationProvider; private final java.lang.String awsSnsRoleArn; private final java.lang.String awsSnsTopicArn; private final java.lang.String awsSqsArn; private final java.lang.String awsSqsRoleArn; private final java.lang.String azureStorageQueuePrimaryUri; private final java.lang.String azureTenantId; private final java.lang.String comment; private final java.lang.String direction; private final java.lang.Object enabled; private final java.lang.String gcpPubsubSubscriptionName; private final java.lang.String gcpPubsubTopicName; private final java.lang.String id; private final java.lang.String type; private final java.lang.Object connection; private final java.lang.Object count; private final java.util.List dependsOn; private final com.hashicorp.cdktf.ITerraformIterator forEach; private final com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle; private final com.hashicorp.cdktf.TerraformProvider provider; private final java.util.List provisioners; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.name = software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.notificationProvider = software.amazon.jsii.Kernel.get(this, "notificationProvider", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.awsSnsRoleArn = software.amazon.jsii.Kernel.get(this, "awsSnsRoleArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.awsSnsTopicArn = software.amazon.jsii.Kernel.get(this, "awsSnsTopicArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.awsSqsArn = software.amazon.jsii.Kernel.get(this, "awsSqsArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.awsSqsRoleArn = software.amazon.jsii.Kernel.get(this, "awsSqsRoleArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.azureStorageQueuePrimaryUri = software.amazon.jsii.Kernel.get(this, "azureStorageQueuePrimaryUri", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.azureTenantId = software.amazon.jsii.Kernel.get(this, "azureTenantId", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.comment = software.amazon.jsii.Kernel.get(this, "comment", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.direction = software.amazon.jsii.Kernel.get(this, "direction", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.enabled = software.amazon.jsii.Kernel.get(this, "enabled", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.gcpPubsubSubscriptionName = software.amazon.jsii.Kernel.get(this, "gcpPubsubSubscriptionName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.gcpPubsubTopicName = software.amazon.jsii.Kernel.get(this, "gcpPubsubTopicName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.id = software.amazon.jsii.Kernel.get(this, "id", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.type = software.amazon.jsii.Kernel.get(this, "type", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.connection = software.amazon.jsii.Kernel.get(this, "connection", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.count = software.amazon.jsii.Kernel.get(this, "count", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.dependsOn = software.amazon.jsii.Kernel.get(this, "dependsOn", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.ITerraformDependable.class))); this.forEach = software.amazon.jsii.Kernel.get(this, "forEach", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.ITerraformIterator.class)); this.lifecycle = software.amazon.jsii.Kernel.get(this, "lifecycle", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.TerraformResourceLifecycle.class)); this.provider = software.amazon.jsii.Kernel.get(this, "provider", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.TerraformProvider.class)); this.provisioners = software.amazon.jsii.Kernel.get(this, "provisioners", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ @SuppressWarnings("unchecked") protected Jsii$Proxy(final Builder builder) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.name = java.util.Objects.requireNonNull(builder.name, "name is required"); this.notificationProvider = java.util.Objects.requireNonNull(builder.notificationProvider, "notificationProvider is required"); this.awsSnsRoleArn = builder.awsSnsRoleArn; this.awsSnsTopicArn = builder.awsSnsTopicArn; this.awsSqsArn = builder.awsSqsArn; this.awsSqsRoleArn = builder.awsSqsRoleArn; this.azureStorageQueuePrimaryUri = builder.azureStorageQueuePrimaryUri; this.azureTenantId = builder.azureTenantId; this.comment = builder.comment; this.direction = builder.direction; this.enabled = builder.enabled; this.gcpPubsubSubscriptionName = builder.gcpPubsubSubscriptionName; this.gcpPubsubTopicName = builder.gcpPubsubTopicName; this.id = builder.id; this.type = builder.type; this.connection = builder.connection; this.count = builder.count; this.dependsOn = (java.util.List)builder.dependsOn; this.forEach = builder.forEach; this.lifecycle = builder.lifecycle; this.provider = builder.provider; this.provisioners = (java.util.List)builder.provisioners; } @Override public final java.lang.String getName() { return this.name; } @Override public final java.lang.String getNotificationProvider() { return this.notificationProvider; } @Override public final java.lang.String getAwsSnsRoleArn() { return this.awsSnsRoleArn; } @Override public final java.lang.String getAwsSnsTopicArn() { return this.awsSnsTopicArn; } @Override public final java.lang.String getAwsSqsArn() { return this.awsSqsArn; } @Override public final java.lang.String getAwsSqsRoleArn() { return this.awsSqsRoleArn; } @Override public final java.lang.String getAzureStorageQueuePrimaryUri() { return this.azureStorageQueuePrimaryUri; } @Override public final java.lang.String getAzureTenantId() { return this.azureTenantId; } @Override public final java.lang.String getComment() { return this.comment; } @Override public final java.lang.String getDirection() { return this.direction; } @Override public final java.lang.Object getEnabled() { return this.enabled; } @Override public final java.lang.String getGcpPubsubSubscriptionName() { return this.gcpPubsubSubscriptionName; } @Override public final java.lang.String getGcpPubsubTopicName() { return this.gcpPubsubTopicName; } @Override public final java.lang.String getId() { return this.id; } @Override public final java.lang.String getType() { return this.type; } @Override public final java.lang.Object getConnection() { return this.connection; } @Override public final java.lang.Object getCount() { return this.count; } @Override public final java.util.List getDependsOn() { return this.dependsOn; } @Override public final com.hashicorp.cdktf.ITerraformIterator getForEach() { return this.forEach; } @Override public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle() { return this.lifecycle; } @Override public final com.hashicorp.cdktf.TerraformProvider getProvider() { return this.provider; } @Override public final java.util.List getProvisioners() { return this.provisioners; } @Override @software.amazon.jsii.Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); data.set("name", om.valueToTree(this.getName())); data.set("notificationProvider", om.valueToTree(this.getNotificationProvider())); if (this.getAwsSnsRoleArn() != null) { data.set("awsSnsRoleArn", om.valueToTree(this.getAwsSnsRoleArn())); } if (this.getAwsSnsTopicArn() != null) { data.set("awsSnsTopicArn", om.valueToTree(this.getAwsSnsTopicArn())); } if (this.getAwsSqsArn() != null) { data.set("awsSqsArn", om.valueToTree(this.getAwsSqsArn())); } if (this.getAwsSqsRoleArn() != null) { data.set("awsSqsRoleArn", om.valueToTree(this.getAwsSqsRoleArn())); } if (this.getAzureStorageQueuePrimaryUri() != null) { data.set("azureStorageQueuePrimaryUri", om.valueToTree(this.getAzureStorageQueuePrimaryUri())); } if (this.getAzureTenantId() != null) { data.set("azureTenantId", om.valueToTree(this.getAzureTenantId())); } if (this.getComment() != null) { data.set("comment", om.valueToTree(this.getComment())); } if (this.getDirection() != null) { data.set("direction", om.valueToTree(this.getDirection())); } if (this.getEnabled() != null) { data.set("enabled", om.valueToTree(this.getEnabled())); } if (this.getGcpPubsubSubscriptionName() != null) { data.set("gcpPubsubSubscriptionName", om.valueToTree(this.getGcpPubsubSubscriptionName())); } if (this.getGcpPubsubTopicName() != null) { data.set("gcpPubsubTopicName", om.valueToTree(this.getGcpPubsubTopicName())); } if (this.getId() != null) { data.set("id", om.valueToTree(this.getId())); } if (this.getType() != null) { data.set("type", om.valueToTree(this.getType())); } if (this.getConnection() != null) { data.set("connection", om.valueToTree(this.getConnection())); } if (this.getCount() != null) { data.set("count", om.valueToTree(this.getCount())); } if (this.getDependsOn() != null) { data.set("dependsOn", om.valueToTree(this.getDependsOn())); } if (this.getForEach() != null) { data.set("forEach", om.valueToTree(this.getForEach())); } if (this.getLifecycle() != null) { data.set("lifecycle", om.valueToTree(this.getLifecycle())); } if (this.getProvider() != null) { data.set("provider", om.valueToTree(this.getProvider())); } if (this.getProvisioners() != null) { data.set("provisioners", om.valueToTree(this.getProvisioners())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@cdktf/provider-snowflake.notificationIntegration.NotificationIntegrationConfig")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public final boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; NotificationIntegrationConfig.Jsii$Proxy that = (NotificationIntegrationConfig.Jsii$Proxy) o; if (!name.equals(that.name)) return false; if (!notificationProvider.equals(that.notificationProvider)) return false; if (this.awsSnsRoleArn != null ? !this.awsSnsRoleArn.equals(that.awsSnsRoleArn) : that.awsSnsRoleArn != null) return false; if (this.awsSnsTopicArn != null ? !this.awsSnsTopicArn.equals(that.awsSnsTopicArn) : that.awsSnsTopicArn != null) return false; if (this.awsSqsArn != null ? !this.awsSqsArn.equals(that.awsSqsArn) : that.awsSqsArn != null) return false; if (this.awsSqsRoleArn != null ? !this.awsSqsRoleArn.equals(that.awsSqsRoleArn) : that.awsSqsRoleArn != null) return false; if (this.azureStorageQueuePrimaryUri != null ? !this.azureStorageQueuePrimaryUri.equals(that.azureStorageQueuePrimaryUri) : that.azureStorageQueuePrimaryUri != null) return false; if (this.azureTenantId != null ? !this.azureTenantId.equals(that.azureTenantId) : that.azureTenantId != null) return false; if (this.comment != null ? !this.comment.equals(that.comment) : that.comment != null) return false; if (this.direction != null ? !this.direction.equals(that.direction) : that.direction != null) return false; if (this.enabled != null ? !this.enabled.equals(that.enabled) : that.enabled != null) return false; if (this.gcpPubsubSubscriptionName != null ? !this.gcpPubsubSubscriptionName.equals(that.gcpPubsubSubscriptionName) : that.gcpPubsubSubscriptionName != null) return false; if (this.gcpPubsubTopicName != null ? !this.gcpPubsubTopicName.equals(that.gcpPubsubTopicName) : that.gcpPubsubTopicName != null) return false; if (this.id != null ? !this.id.equals(that.id) : that.id != null) return false; if (this.type != null ? !this.type.equals(that.type) : that.type != null) return false; if (this.connection != null ? !this.connection.equals(that.connection) : that.connection != null) return false; if (this.count != null ? !this.count.equals(that.count) : that.count != null) return false; if (this.dependsOn != null ? !this.dependsOn.equals(that.dependsOn) : that.dependsOn != null) return false; if (this.forEach != null ? !this.forEach.equals(that.forEach) : that.forEach != null) return false; if (this.lifecycle != null ? !this.lifecycle.equals(that.lifecycle) : that.lifecycle != null) return false; if (this.provider != null ? !this.provider.equals(that.provider) : that.provider != null) return false; return this.provisioners != null ? this.provisioners.equals(that.provisioners) : that.provisioners == null; } @Override public final int hashCode() { int result = this.name.hashCode(); result = 31 * result + (this.notificationProvider.hashCode()); result = 31 * result + (this.awsSnsRoleArn != null ? this.awsSnsRoleArn.hashCode() : 0); result = 31 * result + (this.awsSnsTopicArn != null ? this.awsSnsTopicArn.hashCode() : 0); result = 31 * result + (this.awsSqsArn != null ? this.awsSqsArn.hashCode() : 0); result = 31 * result + (this.awsSqsRoleArn != null ? this.awsSqsRoleArn.hashCode() : 0); result = 31 * result + (this.azureStorageQueuePrimaryUri != null ? this.azureStorageQueuePrimaryUri.hashCode() : 0); result = 31 * result + (this.azureTenantId != null ? this.azureTenantId.hashCode() : 0); result = 31 * result + (this.comment != null ? this.comment.hashCode() : 0); result = 31 * result + (this.direction != null ? this.direction.hashCode() : 0); result = 31 * result + (this.enabled != null ? this.enabled.hashCode() : 0); result = 31 * result + (this.gcpPubsubSubscriptionName != null ? this.gcpPubsubSubscriptionName.hashCode() : 0); result = 31 * result + (this.gcpPubsubTopicName != null ? this.gcpPubsubTopicName.hashCode() : 0); result = 31 * result + (this.id != null ? this.id.hashCode() : 0); result = 31 * result + (this.type != null ? this.type.hashCode() : 0); result = 31 * result + (this.connection != null ? this.connection.hashCode() : 0); result = 31 * result + (this.count != null ? this.count.hashCode() : 0); result = 31 * result + (this.dependsOn != null ? this.dependsOn.hashCode() : 0); result = 31 * result + (this.forEach != null ? this.forEach.hashCode() : 0); result = 31 * result + (this.lifecycle != null ? this.lifecycle.hashCode() : 0); result = 31 * result + (this.provider != null ? this.provider.hashCode() : 0); result = 31 * result + (this.provisioners != null ? this.provisioners.hashCode() : 0); return result; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy