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

com.pulumi.azurenative.datafactory.kotlin.inputs.ZipDeflateReadSettingsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.datafactory.kotlin.inputs

import com.pulumi.azurenative.datafactory.inputs.ZipDeflateReadSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The ZipDeflate compression read settings.
 * @property preserveZipFileNameAsFolder Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean).
 * @property type The Compression setting type.
 * Expected value is 'ZipDeflateReadSettings'.
 */
public data class ZipDeflateReadSettingsArgs(
    public val preserveZipFileNameAsFolder: Output? = null,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.ZipDeflateReadSettingsArgs =
        com.pulumi.azurenative.datafactory.inputs.ZipDeflateReadSettingsArgs.builder()
            .preserveZipFileNameAsFolder(preserveZipFileNameAsFolder?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZipDeflateReadSettingsArgs].
 */
@PulumiTagMarker
public class ZipDeflateReadSettingsArgsBuilder internal constructor() {
    private var preserveZipFileNameAsFolder: Output? = null

    private var type: Output? = null

    /**
     * @param value Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean).
     */
    @JvmName("jgdlaapkpfuimfuw")
    public suspend fun preserveZipFileNameAsFolder(`value`: Output) {
        this.preserveZipFileNameAsFolder = value
    }

    /**
     * @param value The Compression setting type.
     * Expected value is 'ZipDeflateReadSettings'.
     */
    @JvmName("ufujvbmrgwknedyc")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean).
     */
    @JvmName("oqruxwbdjpkwhsnq")
    public suspend fun preserveZipFileNameAsFolder(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.preserveZipFileNameAsFolder = mapped
    }

    /**
     * @param value The Compression setting type.
     * Expected value is 'ZipDeflateReadSettings'.
     */
    @JvmName("oglhbfxmshvtsskl")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): ZipDeflateReadSettingsArgs = ZipDeflateReadSettingsArgs(
        preserveZipFileNameAsFolder = preserveZipFileNameAsFolder,
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy