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

com.pulumi.azurenative.datafactory.inputs.DWCopyCommandSettingsArgs 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.azurenative.datafactory.inputs.DWCopyCommandDefaultValueArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * DW Copy Command settings.
 * 
 */
public final class DWCopyCommandSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final DWCopyCommandSettingsArgs Empty = new DWCopyCommandSettingsArgs();

    /**
     * Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }
     * 
     */
    @Import(name="additionalOptions")
    private @Nullable Output> additionalOptions;

    /**
     * @return Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }
     * 
     */
    public Optional>> additionalOptions() {
        return Optional.ofNullable(this.additionalOptions);
    }

    /**
     * Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).
     * 
     */
    @Import(name="defaultValues")
    private @Nullable Output> defaultValues;

    /**
     * @return Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).
     * 
     */
    public Optional>> defaultValues() {
        return Optional.ofNullable(this.defaultValues);
    }

    private DWCopyCommandSettingsArgs() {}

    private DWCopyCommandSettingsArgs(DWCopyCommandSettingsArgs $) {
        this.additionalOptions = $.additionalOptions;
        this.defaultValues = $.defaultValues;
    }

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

    public static final class Builder {
        private DWCopyCommandSettingsArgs $;

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

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

        /**
         * @param additionalOptions Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }
         * 
         * @return builder
         * 
         */
        public Builder additionalOptions(@Nullable Output> additionalOptions) {
            $.additionalOptions = additionalOptions;
            return this;
        }

        /**
         * @param additionalOptions Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }
         * 
         * @return builder
         * 
         */
        public Builder additionalOptions(Map additionalOptions) {
            return additionalOptions(Output.of(additionalOptions));
        }

        /**
         * @param defaultValues Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).
         * 
         * @return builder
         * 
         */
        public Builder defaultValues(@Nullable Output> defaultValues) {
            $.defaultValues = defaultValues;
            return this;
        }

        /**
         * @param defaultValues Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).
         * 
         * @return builder
         * 
         */
        public Builder defaultValues(List defaultValues) {
            return defaultValues(Output.of(defaultValues));
        }

        /**
         * @param defaultValues Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects).
         * 
         * @return builder
         * 
         */
        public Builder defaultValues(DWCopyCommandDefaultValueArgs... defaultValues) {
            return defaultValues(List.of(defaultValues));
        }

        public DWCopyCommandSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy