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

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

import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class SnowflakeImportCopyCommandResponse {
    /**
     * @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'" }
     * 
     */
    private @Nullable Map additionalCopyOptions;
    /**
     * @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": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" }
     * 
     */
    private @Nullable Map additionalFormatOptions;
    /**
     * @return The name of the snowflake storage integration to use for the copy operation. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object storageIntegration;
    /**
     * @return The import setting type.
     * Expected value is 'SnowflakeImportCopyCommand'.
     * 
     */
    private String type;

    private SnowflakeImportCopyCommandResponse() {}
    /**
     * @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 Map additionalCopyOptions() {
        return this.additionalCopyOptions == null ? Map.of() : this.additionalCopyOptions;
    }
    /**
     * @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": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" }
     * 
     */
    public Map additionalFormatOptions() {
        return this.additionalFormatOptions == null ? Map.of() : this.additionalFormatOptions;
    }
    /**
     * @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);
    }
    /**
     * @return The import setting type.
     * Expected value is 'SnowflakeImportCopyCommand'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(SnowflakeImportCopyCommandResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map additionalCopyOptions;
        private @Nullable Map additionalFormatOptions;
        private @Nullable Object storageIntegration;
        private String type;
        public Builder() {}
        public Builder(SnowflakeImportCopyCommandResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalCopyOptions = defaults.additionalCopyOptions;
    	      this.additionalFormatOptions = defaults.additionalFormatOptions;
    	      this.storageIntegration = defaults.storageIntegration;
    	      this.type = defaults.type;
        }

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

            this.additionalCopyOptions = additionalCopyOptions;
            return this;
        }
        @CustomType.Setter
        public Builder additionalFormatOptions(@Nullable Map additionalFormatOptions) {

            this.additionalFormatOptions = additionalFormatOptions;
            return this;
        }
        @CustomType.Setter
        public Builder storageIntegration(@Nullable Object storageIntegration) {

            this.storageIntegration = storageIntegration;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("SnowflakeImportCopyCommandResponse", "type");
            }
            this.type = type;
            return this;
        }
        public SnowflakeImportCopyCommandResponse build() {
            final var _resultValue = new SnowflakeImportCopyCommandResponse();
            _resultValue.additionalCopyOptions = additionalCopyOptions;
            _resultValue.additionalFormatOptions = additionalFormatOptions;
            _resultValue.storageIntegration = storageIntegration;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}