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

com.pulumi.azure.streamanalytics.inputs.OutputMssqlState 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.azure.streamanalytics.inputs;

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


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

    public static final OutputMssqlState Empty = new OutputMssqlState();

    /**
     * The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
     * 
     */
    @Import(name="authenticationMode")
    private @Nullable Output authenticationMode;

    /**
     * @return The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
     * 
     */
    public Optional> authenticationMode() {
        return Optional.ofNullable(this.authenticationMode);
    }

    /**
     * The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="database")
    private @Nullable Output database;

    /**
     * @return The MS SQL database name where the reference table exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> database() {
        return Optional.ofNullable(this.database);
    }

    /**
     * The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.
     * 
     */
    @Import(name="maxBatchCount")
    private @Nullable Output maxBatchCount;

    /**
     * @return The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.
     * 
     */
    public Optional> maxBatchCount() {
        return Optional.ofNullable(this.maxBatchCount);
    }

    /**
     * The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.
     * 
     */
    @Import(name="maxWriterCount")
    private @Nullable Output maxWriterCount;

    /**
     * @return The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.
     * 
     */
    public Optional> maxWriterCount() {
        return Optional.ofNullable(this.maxWriterCount);
    }

    /**
     * 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);
    }

    /**
     * Password used together with username, to login to the Microsoft SQL Server. Required if `authentication_mode` is `ConnectionString`.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Password used together with username, to login to the Microsoft SQL Server. Required if `authentication_mode` is `ConnectionString`.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(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")
    private @Nullable 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 Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

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

    /**
     * @return The SQL server url. Changing this forces a new resource to be created.
     * 
     */
    public Optional> server() {
        return Optional.ofNullable(this.server);
    }

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

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

    /**
     * Table in the database that the output points to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="table")
    private @Nullable Output table;

    /**
     * @return Table in the database that the output points to. Changing this forces a new resource to be created.
     * 
     */
    public Optional> table() {
        return Optional.ofNullable(this.table);
    }

    /**
     * Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authentication_mode` is `ConnectionString`.
     * 
     */
    @Import(name="user")
    private @Nullable Output user;

    /**
     * @return Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authentication_mode` is `ConnectionString`.
     * 
     */
    public Optional> user() {
        return Optional.ofNullable(this.user);
    }

    private OutputMssqlState() {}

    private OutputMssqlState(OutputMssqlState $) {
        this.authenticationMode = $.authenticationMode;
        this.database = $.database;
        this.maxBatchCount = $.maxBatchCount;
        this.maxWriterCount = $.maxWriterCount;
        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(OutputMssqlState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private OutputMssqlState $;

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

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

        /**
         * @param authenticationMode The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMode(@Nullable Output authenticationMode) {
            $.authenticationMode = authenticationMode;
            return this;
        }

        /**
         * @param authenticationMode The authentication mode for the Stream Output. Possible values are `Msi` and `ConnectionString`. Defaults to `ConnectionString`.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMode(String authenticationMode) {
            return authenticationMode(Output.of(authenticationMode));
        }

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

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

        /**
         * @param maxBatchCount The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.
         * 
         * @return builder
         * 
         */
        public Builder maxBatchCount(@Nullable Output maxBatchCount) {
            $.maxBatchCount = maxBatchCount;
            return this;
        }

        /**
         * @param maxBatchCount The max batch count to write to the SQL Database. Defaults to `10000`. Possible values are between `1` and `1073741824`.
         * 
         * @return builder
         * 
         */
        public Builder maxBatchCount(Double maxBatchCount) {
            return maxBatchCount(Output.of(maxBatchCount));
        }

        /**
         * @param maxWriterCount The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.
         * 
         * @return builder
         * 
         */
        public Builder maxWriterCount(@Nullable Output maxWriterCount) {
            $.maxWriterCount = maxWriterCount;
            return this;
        }

        /**
         * @param maxWriterCount The max writer count for the SQL Database. Defaults to `1`. Possible values are `0` which bases the writer count on the query partition and `1` which corresponds to a single writer.
         * 
         * @return builder
         * 
         */
        public Builder maxWriterCount(Double maxWriterCount) {
            return maxWriterCount(Output.of(maxWriterCount));
        }

        /**
         * @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 Password used together with username, to login to the Microsoft SQL Server. Required if `authentication_mode` is `ConnectionString`.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Password used together with username, to login to the Microsoft SQL Server. Required if `authentication_mode` is `ConnectionString`.
         * 
         * @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(@Nullable 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 SQL server url. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder server(@Nullable Output server) {
            $.server = server;
            return this;
        }

        /**
         * @param server The SQL server url. 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(@Nullable 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 Table in the database that the output points to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder table(@Nullable Output table) {
            $.table = table;
            return this;
        }

        /**
         * @param table Table in the database that the output points to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder table(String table) {
            return table(Output.of(table));
        }

        /**
         * @param user Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authentication_mode` is `ConnectionString`.
         * 
         * @return builder
         * 
         */
        public Builder user(@Nullable Output user) {
            $.user = user;
            return this;
        }

        /**
         * @param user Username used to login to the Microsoft SQL Server. Changing this forces a new resource to be created. Required if `authentication_mode` is `ConnectionString`.
         * 
         * @return builder
         * 
         */
        public Builder user(String user) {
            return user(Output.of(user));
        }

        public OutputMssqlState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy