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

com.pulumi.azurenative.datafactory.inputs.AzureDatabricksDeltaLakeImportCommandArgs 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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Azure Databricks Delta Lake import command settings.
 * 
 */
public final class AzureDatabricksDeltaLakeImportCommandArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureDatabricksDeltaLakeImportCommandArgs Empty = new AzureDatabricksDeltaLakeImportCommandArgs();

    /**
     * Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="dateFormat")
    private @Nullable Output dateFormat;

    /**
     * @return Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> dateFormat() {
        return Optional.ofNullable(this.dateFormat);
    }

    /**
     * Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="timestampFormat")
    private @Nullable Output timestampFormat;

    /**
     * @return Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> timestampFormat() {
        return Optional.ofNullable(this.timestampFormat);
    }

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

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

    private AzureDatabricksDeltaLakeImportCommandArgs() {}

    private AzureDatabricksDeltaLakeImportCommandArgs(AzureDatabricksDeltaLakeImportCommandArgs $) {
        this.dateFormat = $.dateFormat;
        this.timestampFormat = $.timestampFormat;
        this.type = $.type;
    }

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

    public static final class Builder {
        private AzureDatabricksDeltaLakeImportCommandArgs $;

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

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

        /**
         * @param dateFormat Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder dateFormat(@Nullable Output dateFormat) {
            $.dateFormat = dateFormat;
            return this;
        }

        /**
         * @param dateFormat Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder dateFormat(Object dateFormat) {
            return dateFormat(Output.of(dateFormat));
        }

        /**
         * @param timestampFormat Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder timestampFormat(@Nullable Output timestampFormat) {
            $.timestampFormat = timestampFormat;
            return this;
        }

        /**
         * @param timestampFormat Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder timestampFormat(Object timestampFormat) {
            return timestampFormat(Output.of(timestampFormat));
        }

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

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

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

}