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

com.pulumi.azurenative.datafactory.inputs.SqlUpsertSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.datafactory.inputs;

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


/**
 * Sql upsert option settings
 * 
 */
public final class SqlUpsertSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SqlUpsertSettingsArgs Empty = new SqlUpsertSettingsArgs();

    /**
     * Schema name for interim table. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="interimSchemaName")
    private @Nullable Output interimSchemaName;

    /**
     * @return Schema name for interim table. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> interimSchemaName() {
        return Optional.ofNullable(this.interimSchemaName);
    }

    /**
     * Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings).
     * 
     */
    @Import(name="keys")
    private @Nullable Output keys;

    /**
     * @return Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings).
     * 
     */
    public Optional> keys() {
        return Optional.ofNullable(this.keys);
    }

    /**
     * Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean).
     * 
     */
    @Import(name="useTempDB")
    private @Nullable Output useTempDB;

    /**
     * @return Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional> useTempDB() {
        return Optional.ofNullable(this.useTempDB);
    }

    private SqlUpsertSettingsArgs() {}

    private SqlUpsertSettingsArgs(SqlUpsertSettingsArgs $) {
        this.interimSchemaName = $.interimSchemaName;
        this.keys = $.keys;
        this.useTempDB = $.useTempDB;
    }

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

    public static final class Builder {
        private SqlUpsertSettingsArgs $;

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

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

        /**
         * @param interimSchemaName Schema name for interim table. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder interimSchemaName(@Nullable Output interimSchemaName) {
            $.interimSchemaName = interimSchemaName;
            return this;
        }

        /**
         * @param interimSchemaName Schema name for interim table. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder interimSchemaName(Object interimSchemaName) {
            return interimSchemaName(Output.of(interimSchemaName));
        }

        /**
         * @param keys Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings).
         * 
         * @return builder
         * 
         */
        public Builder keys(@Nullable Output keys) {
            $.keys = keys;
            return this;
        }

        /**
         * @param keys Key column names for unique row identification. Type: array of strings (or Expression with resultType array of strings).
         * 
         * @return builder
         * 
         */
        public Builder keys(Object keys) {
            return keys(Output.of(keys));
        }

        /**
         * @param useTempDB Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder useTempDB(@Nullable Output useTempDB) {
            $.useTempDB = useTempDB;
            return this;
        }

        /**
         * @param useTempDB Specifies whether to use temp db for upsert interim table. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder useTempDB(Object useTempDB) {
            return useTempDB(Output.of(useTempDB));
        }

        public SqlUpsertSettingsArgs build() {
            return $;
        }
    }

}