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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azurenative.datafactory.inputs.OrcWriteSettingsArgs.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

/**
 * Orc write settings.
 * @property fileNamePrefix Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).
 * @property maxRowsPerFile Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).
 * @property type The write setting type.
 * Expected value is 'OrcWriteSettings'.
 */
public data class OrcWriteSettingsArgs(
    public val fileNamePrefix: Output? = null,
    public val maxRowsPerFile: Output? = null,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.OrcWriteSettingsArgs =
        com.pulumi.azurenative.datafactory.inputs.OrcWriteSettingsArgs.builder()
            .fileNamePrefix(fileNamePrefix?.applyValue({ args0 -> args0 }))
            .maxRowsPerFile(maxRowsPerFile?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [OrcWriteSettingsArgs].
 */
@PulumiTagMarker
public class OrcWriteSettingsArgsBuilder internal constructor() {
    private var fileNamePrefix: Output? = null

    private var maxRowsPerFile: Output? = null

    private var type: Output? = null

    /**
     * @param value Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).
     */
    @JvmName("ytopluegwvitvwik")
    public suspend fun fileNamePrefix(`value`: Output) {
        this.fileNamePrefix = value
    }

    /**
     * @param value Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).
     */
    @JvmName("iwqqnsxohodufcnn")
    public suspend fun maxRowsPerFile(`value`: Output) {
        this.maxRowsPerFile = value
    }

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

    /**
     * @param value Specifies the file name pattern _. when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).
     */
    @JvmName("tlxrjghfsrcxpouh")
    public suspend fun fileNamePrefix(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileNamePrefix = mapped
    }

    /**
     * @param value Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).
     */
    @JvmName("uwogvhxglowkgihp")
    public suspend fun maxRowsPerFile(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxRowsPerFile = mapped
    }

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

    internal fun build(): OrcWriteSettingsArgs = OrcWriteSettingsArgs(
        fileNamePrefix = fileNamePrefix,
        maxRowsPerFile = maxRowsPerFile,
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy