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

com.pulumi.azure.synapse.kotlin.inputs.SparkPoolSparkConfigArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.synapse.kotlin.inputs

import com.pulumi.azure.synapse.inputs.SparkPoolSparkConfigArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property content The contents of a spark configuration.
 * @property filename The name of the file where the spark configuration `content` will be stored.
 */
public data class SparkPoolSparkConfigArgs(
    public val content: Output,
    public val filename: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.synapse.inputs.SparkPoolSparkConfigArgs =
        com.pulumi.azure.synapse.inputs.SparkPoolSparkConfigArgs.builder()
            .content(content.applyValue({ args0 -> args0 }))
            .filename(filename.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SparkPoolSparkConfigArgs].
 */
@PulumiTagMarker
public class SparkPoolSparkConfigArgsBuilder internal constructor() {
    private var content: Output? = null

    private var filename: Output? = null

    /**
     * @param value The contents of a spark configuration.
     */
    @JvmName("gndenwtscgfhtjri")
    public suspend fun content(`value`: Output) {
        this.content = value
    }

    /**
     * @param value The name of the file where the spark configuration `content` will be stored.
     */
    @JvmName("ciixyyxbjkklkikx")
    public suspend fun filename(`value`: Output) {
        this.filename = value
    }

    /**
     * @param value The contents of a spark configuration.
     */
    @JvmName("xekbxckrpqfcprft")
    public suspend fun content(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.content = mapped
    }

    /**
     * @param value The name of the file where the spark configuration `content` will be stored.
     */
    @JvmName("amlwhkgfcklmfyjl")
    public suspend fun filename(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.filename = mapped
    }

    internal fun build(): SparkPoolSparkConfigArgs = SparkPoolSparkConfigArgs(
        content = content ?: throw PulumiNullFieldException("content"),
        filename = filename ?: throw PulumiNullFieldException("filename"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy