// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.analytics.synapse.artifacts.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** The Tar compression read settings. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("TarReadSettings")
@Fluent
public final class TarReadSettings extends CompressionReadSettings {
    /*
     * Preserve the compression file name as folder path. Type: boolean (or Expression with resultType boolean).
     */
    @JsonProperty(value = "preserveCompressionFileNameAsFolder")
    private Object preserveCompressionFileNameAsFolder;

    /** Creates an instance of TarReadSettings class. */
    public TarReadSettings() {}

    /**
     * Get the preserveCompressionFileNameAsFolder property: Preserve the compression file name as folder path. Type:
     * boolean (or Expression with resultType boolean).
     *
     * @return the preserveCompressionFileNameAsFolder value.
     */
    public Object getPreserveCompressionFileNameAsFolder() {
        return this.preserveCompressionFileNameAsFolder;
    }

    /**
     * Set the preserveCompressionFileNameAsFolder property: Preserve the compression file name as folder path. Type:
     * boolean (or Expression with resultType boolean).
     *
     * @param preserveCompressionFileNameAsFolder the preserveCompressionFileNameAsFolder value to set.
     * @return the TarReadSettings object itself.
     */
    public TarReadSettings setPreserveCompressionFileNameAsFolder(Object preserveCompressionFileNameAsFolder) {
        this.preserveCompressionFileNameAsFolder = preserveCompressionFileNameAsFolder;
        return this;
    }
}
