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

com.pulumi.azurenative.datafactory.inputs.TarGZipReadSettingsArgs 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;


/**
 * The TarGZip compression read settings.
 * 
 */
public final class TarGZipReadSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final TarGZipReadSettingsArgs Empty = new TarGZipReadSettingsArgs();

    /**
     * Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean).
     * 
     */
    @Import(name="preserveCompressionFileNameAsFolder")
    private @Nullable Output preserveCompressionFileNameAsFolder;

    /**
     * @return Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional> preserveCompressionFileNameAsFolder() {
        return Optional.ofNullable(this.preserveCompressionFileNameAsFolder);
    }

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

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

    private TarGZipReadSettingsArgs() {}

    private TarGZipReadSettingsArgs(TarGZipReadSettingsArgs $) {
        this.preserveCompressionFileNameAsFolder = $.preserveCompressionFileNameAsFolder;
        this.type = $.type;
    }

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

    public static final class Builder {
        private TarGZipReadSettingsArgs $;

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

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

        /**
         * @param preserveCompressionFileNameAsFolder Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder preserveCompressionFileNameAsFolder(@Nullable Output preserveCompressionFileNameAsFolder) {
            $.preserveCompressionFileNameAsFolder = preserveCompressionFileNameAsFolder;
            return this;
        }

        /**
         * @param preserveCompressionFileNameAsFolder Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder preserveCompressionFileNameAsFolder(Object preserveCompressionFileNameAsFolder) {
            return preserveCompressionFileNameAsFolder(Output.of(preserveCompressionFileNameAsFolder));
        }

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

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

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

}