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

com.pulumi.azurenative.datafactory.outputs.DWCopyCommandSettingsResponse 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.outputs;

import com.pulumi.azurenative.datafactory.outputs.DWCopyCommandDefaultValueResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class DWCopyCommandSettingsResponse {
    /**
     * @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'" }
     * 
     */
    private @Nullable Map additionalOptions;
    /**
     * @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).
     * 
     */
    private @Nullable List defaultValues;

    private DWCopyCommandSettingsResponse() {}
    /**
     * @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 Map additionalOptions() {
        return this.additionalOptions == null ? Map.of() : this.additionalOptions;
    }
    /**
     * @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 List defaultValues() {
        return this.defaultValues == null ? List.of() : this.defaultValues;
    }

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

    public static Builder builder(DWCopyCommandSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map additionalOptions;
        private @Nullable List defaultValues;
        public Builder() {}
        public Builder(DWCopyCommandSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalOptions = defaults.additionalOptions;
    	      this.defaultValues = defaults.defaultValues;
        }

        @CustomType.Setter
        public Builder additionalOptions(@Nullable Map additionalOptions) {

            this.additionalOptions = additionalOptions;
            return this;
        }
        @CustomType.Setter
        public Builder defaultValues(@Nullable List defaultValues) {

            this.defaultValues = defaultValues;
            return this;
        }
        public Builder defaultValues(DWCopyCommandDefaultValueResponse... defaultValues) {
            return defaultValues(List.of(defaultValues));
        }
        public DWCopyCommandSettingsResponse build() {
            final var _resultValue = new DWCopyCommandSettingsResponse();
            _resultValue.additionalOptions = additionalOptions;
            _resultValue.defaultValues = defaultValues;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy