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

com.pulumi.azure.streamanalytics.OutputSynapseArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.azure.streamanalytics;

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


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

    public static final OutputSynapseArgs Empty = new OutputSynapseArgs();

    /**
     * The name of the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="database", required=true)
    private Output database;

    /**
     * @return The name of the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    public Output database() {
        return this.database;
    }

    /**
     * The name of the Stream Output. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the Stream Output. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The password that will be used to connect to the Azure SQL database.
     * 
     */
    @Import(name="password", required=true)
    private Output password;

    /**
     * @return The password that will be used to connect to the Azure SQL database.
     * 
     */
    public Output password() {
        return this.password;
    }

    /**
     * The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="server", required=true)
    private Output server;

    /**
     * @return The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    public Output server() {
        return this.server;
    }

    /**
     * The name of the Stream Analytics Job. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="streamAnalyticsJobName", required=true)
    private Output streamAnalyticsJobName;

    /**
     * @return The name of the Stream Analytics Job. Changing this forces a new resource to be created.
     * 
     */
    public Output streamAnalyticsJobName() {
        return this.streamAnalyticsJobName;
    }

    /**
     * The name of the table in the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="table", required=true)
    private Output table;

    /**
     * @return The name of the table in the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    public Output table() {
        return this.table;
    }

    /**
     * The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="user", required=true)
    private Output user;

    /**
     * @return The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.
     * 
     */
    public Output user() {
        return this.user;
    }

    private OutputSynapseArgs() {}

    private OutputSynapseArgs(OutputSynapseArgs $) {
        this.database = $.database;
        this.name = $.name;
        this.password = $.password;
        this.resourceGroupName = $.resourceGroupName;
        this.server = $.server;
        this.streamAnalyticsJobName = $.streamAnalyticsJobName;
        this.table = $.table;
        this.user = $.user;
    }

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

    public static final class Builder {
        private OutputSynapseArgs $;

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

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

        /**
         * @param database The name of the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder database(Output database) {
            $.database = database;
            return this;
        }

        /**
         * @param database The name of the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder database(String database) {
            return database(Output.of(database));
        }

        /**
         * @param name The name of the Stream Output. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Stream Output. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param password The password that will be used to connect to the Azure SQL database.
         * 
         * @return builder
         * 
         */
        public Builder password(Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password The password that will be used to connect to the Azure SQL database.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Stream Analytics Job exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param server The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder server(Output server) {
            $.server = server;
            return this;
        }

        /**
         * @param server The name of the SQL server containing the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder server(String server) {
            return server(Output.of(server));
        }

        /**
         * @param streamAnalyticsJobName The name of the Stream Analytics Job. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder streamAnalyticsJobName(Output streamAnalyticsJobName) {
            $.streamAnalyticsJobName = streamAnalyticsJobName;
            return this;
        }

        /**
         * @param streamAnalyticsJobName The name of the Stream Analytics Job. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder streamAnalyticsJobName(String streamAnalyticsJobName) {
            return streamAnalyticsJobName(Output.of(streamAnalyticsJobName));
        }

        /**
         * @param table The name of the table in the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder table(Output table) {
            $.table = table;
            return this;
        }

        /**
         * @param table The name of the table in the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder table(String table) {
            return table(Output.of(table));
        }

        /**
         * @param user The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder user(Output user) {
            $.user = user;
            return this;
        }

        /**
         * @param user The user name that will be used to connect to the Azure SQL database. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder user(String user) {
            return user(Output.of(user));
        }

        public OutputSynapseArgs build() {
            if ($.database == null) {
                throw new MissingRequiredPropertyException("OutputSynapseArgs", "database");
            }
            if ($.password == null) {
                throw new MissingRequiredPropertyException("OutputSynapseArgs", "password");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("OutputSynapseArgs", "resourceGroupName");
            }
            if ($.server == null) {
                throw new MissingRequiredPropertyException("OutputSynapseArgs", "server");
            }
            if ($.streamAnalyticsJobName == null) {
                throw new MissingRequiredPropertyException("OutputSynapseArgs", "streamAnalyticsJobName");
            }
            if ($.table == null) {
                throw new MissingRequiredPropertyException("OutputSynapseArgs", "table");
            }
            if ($.user == null) {
                throw new MissingRequiredPropertyException("OutputSynapseArgs", "user");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy