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

com.pulumi.snowflake.inputs.EmailNotificationIntegrationState Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.snowflake.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EmailNotificationIntegrationState extends com.pulumi.resources.ResourceArgs {

    public static final EmailNotificationIntegrationState Empty = new EmailNotificationIntegrationState();

    /**
     * List of email addresses that should receive notifications.
     * 
     */
    @Import(name="allowedRecipients")
    private @Nullable Output> allowedRecipients;

    /**
     * @return List of email addresses that should receive notifications.
     * 
     */
    public Optional>> allowedRecipients() {
        return Optional.ofNullable(this.allowedRecipients);
    }

    /**
     * A comment for the email integration.
     * 
     */
    @Import(name="comment")
    private @Nullable Output comment;

    /**
     * @return A comment for the email integration.
     * 
     */
    public Optional> comment() {
        return Optional.ofNullable(this.comment);
    }

    @Import(name="enabled")
    private @Nullable Output enabled;

    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
     * 
     */
    @Import(name="fullyQualifiedName")
    private @Nullable Output fullyQualifiedName;

    /**
     * @return Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
     * 
     */
    public Optional> fullyQualifiedName() {
        return Optional.ofNullable(this.fullyQualifiedName);
    }

    @Import(name="name")
    private @Nullable Output name;

    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private EmailNotificationIntegrationState() {}

    private EmailNotificationIntegrationState(EmailNotificationIntegrationState $) {
        this.allowedRecipients = $.allowedRecipients;
        this.comment = $.comment;
        this.enabled = $.enabled;
        this.fullyQualifiedName = $.fullyQualifiedName;
        this.name = $.name;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(EmailNotificationIntegrationState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private EmailNotificationIntegrationState $;

        public Builder() {
            $ = new EmailNotificationIntegrationState();
        }

        public Builder(EmailNotificationIntegrationState defaults) {
            $ = new EmailNotificationIntegrationState(Objects.requireNonNull(defaults));
        }

        /**
         * @param allowedRecipients List of email addresses that should receive notifications.
         * 
         * @return builder
         * 
         */
        public Builder allowedRecipients(@Nullable Output> allowedRecipients) {
            $.allowedRecipients = allowedRecipients;
            return this;
        }

        /**
         * @param allowedRecipients List of email addresses that should receive notifications.
         * 
         * @return builder
         * 
         */
        public Builder allowedRecipients(List allowedRecipients) {
            return allowedRecipients(Output.of(allowedRecipients));
        }

        /**
         * @param allowedRecipients List of email addresses that should receive notifications.
         * 
         * @return builder
         * 
         */
        public Builder allowedRecipients(String... allowedRecipients) {
            return allowedRecipients(List.of(allowedRecipients));
        }

        /**
         * @param comment A comment for the email integration.
         * 
         * @return builder
         * 
         */
        public Builder comment(@Nullable Output comment) {
            $.comment = comment;
            return this;
        }

        /**
         * @param comment A comment for the email integration.
         * 
         * @return builder
         * 
         */
        public Builder comment(String comment) {
            return comment(Output.of(comment));
        }

        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param fullyQualifiedName Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
         * 
         * @return builder
         * 
         */
        public Builder fullyQualifiedName(@Nullable Output fullyQualifiedName) {
            $.fullyQualifiedName = fullyQualifiedName;
            return this;
        }

        /**
         * @param fullyQualifiedName Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
         * 
         * @return builder
         * 
         */
        public Builder fullyQualifiedName(String fullyQualifiedName) {
            return fullyQualifiedName(Output.of(fullyQualifiedName));
        }

        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        public Builder name(String name) {
            return name(Output.of(name));
        }

        public EmailNotificationIntegrationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy