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

com.pulumi.azurenative.datafactory.outputs.AzureDatabricksDeltaLakeImportCommandResponse Maven / Gradle / Ivy

The 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.core.annotations.CustomType;
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;

@CustomType
public final class AzureDatabricksDeltaLakeImportCommandResponse {
    /**
     * @return Specify the date format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object dateFormat;
    /**
     * @return Specify the timestamp format for csv in Azure Databricks Delta Lake Copy. Type: string (or Expression with resultType string).
     * 
     */
    private @Nullable Object timestampFormat;
    /**
     * @return The import setting type.
     * Expected value is 'AzureDatabricksDeltaLakeImportCommand'.
     * 
     */
    private String type;

    private AzureDatabricksDeltaLakeImportCommandResponse() {}
    /**
     * @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);
    }
    /**
     * @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);
    }
    /**
     * @return The import setting type.
     * Expected value is 'AzureDatabricksDeltaLakeImportCommand'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(AzureDatabricksDeltaLakeImportCommandResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object dateFormat;
        private @Nullable Object timestampFormat;
        private String type;
        public Builder() {}
        public Builder(AzureDatabricksDeltaLakeImportCommandResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dateFormat = defaults.dateFormat;
    	      this.timestampFormat = defaults.timestampFormat;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder dateFormat(@Nullable Object dateFormat) {

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

            this.timestampFormat = timestampFormat;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("AzureDatabricksDeltaLakeImportCommandResponse", "type");
            }
            this.type = type;
            return this;
        }
        public AzureDatabricksDeltaLakeImportCommandResponse build() {
            final var _resultValue = new AzureDatabricksDeltaLakeImportCommandResponse();
            _resultValue.dateFormat = dateFormat;
            _resultValue.timestampFormat = timestampFormat;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}