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

com.pulumi.azurenative.datafactory.inputs.SnowflakeExportCopyCommandArgs 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 com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Snowflake export command settings.
 * 
 */
public final class SnowflakeExportCopyCommandArgs extends com.pulumi.resources.ResourceArgs {

    public static final SnowflakeExportCopyCommandArgs Empty = new SnowflakeExportCopyCommandArgs();

    /**
     * Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }
     * 
     */
    @Import(name="additionalCopyOptions")
    private @Nullable Output> additionalCopyOptions;

    /**
     * @return Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }
     * 
     */
    public Optional>> additionalCopyOptions() {
        return Optional.ofNullable(this.additionalCopyOptions);
    }

    /**
     * Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }
     * 
     */
    @Import(name="additionalFormatOptions")
    private @Nullable Output> additionalFormatOptions;

    /**
     * @return Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }
     * 
     */
    public Optional>> additionalFormatOptions() {
        return Optional.ofNullable(this.additionalFormatOptions);
    }

    /**
     * The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="storageIntegration")
    private @Nullable Output storageIntegration;

    /**
     * @return The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> storageIntegration() {
        return Optional.ofNullable(this.storageIntegration);
    }

    /**
     * The export setting type.
     * Expected value is 'SnowflakeExportCopyCommand'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return The export setting type.
     * Expected value is 'SnowflakeExportCopyCommand'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private SnowflakeExportCopyCommandArgs() {}

    private SnowflakeExportCopyCommandArgs(SnowflakeExportCopyCommandArgs $) {
        this.additionalCopyOptions = $.additionalCopyOptions;
        this.additionalFormatOptions = $.additionalFormatOptions;
        this.storageIntegration = $.storageIntegration;
        this.type = $.type;
    }

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

    public static final class Builder {
        private SnowflakeExportCopyCommandArgs $;

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

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

        /**
         * @param additionalCopyOptions Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }
         * 
         * @return builder
         * 
         */
        public Builder additionalCopyOptions(@Nullable Output> additionalCopyOptions) {
            $.additionalCopyOptions = additionalCopyOptions;
            return this;
        }

        /**
         * @param additionalCopyOptions Additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }
         * 
         * @return builder
         * 
         */
        public Builder additionalCopyOptions(Map additionalCopyOptions) {
            return additionalCopyOptions(Output.of(additionalCopyOptions));
        }

        /**
         * @param additionalFormatOptions Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }
         * 
         * @return builder
         * 
         */
        public Builder additionalFormatOptions(@Nullable Output> additionalFormatOptions) {
            $.additionalFormatOptions = additionalFormatOptions;
            return this;
        }

        /**
         * @param additionalFormatOptions Additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }
         * 
         * @return builder
         * 
         */
        public Builder additionalFormatOptions(Map additionalFormatOptions) {
            return additionalFormatOptions(Output.of(additionalFormatOptions));
        }

        /**
         * @param storageIntegration The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder storageIntegration(@Nullable Output storageIntegration) {
            $.storageIntegration = storageIntegration;
            return this;
        }

        /**
         * @param storageIntegration The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder storageIntegration(Object storageIntegration) {
            return storageIntegration(Output.of(storageIntegration));
        }

        /**
         * @param type The export setting type.
         * Expected value is 'SnowflakeExportCopyCommand'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The export setting type.
         * Expected value is 'SnowflakeExportCopyCommand'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public SnowflakeExportCopyCommandArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}