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

com.pulumi.azure.synapse.kotlin.inputs.SparkPoolLibraryRequirementArgs.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.SparkPoolLibraryRequirementArgs.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 content of library requirements.
 * @property filename The name of the library requirements file.
 */
public data class SparkPoolLibraryRequirementArgs(
    public val content: Output,
    public val filename: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.synapse.inputs.SparkPoolLibraryRequirementArgs =
        com.pulumi.azure.synapse.inputs.SparkPoolLibraryRequirementArgs.builder()
            .content(content.applyValue({ args0 -> args0 }))
            .filename(filename.applyValue({ args0 -> args0 })).build()
}

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

    private var filename: Output? = null

    /**
     * @param value The content of library requirements.
     */
    @JvmName("ywagypsympndqnrr")
    public suspend fun content(`value`: Output) {
        this.content = value
    }

    /**
     * @param value The name of the library requirements file.
     */
    @JvmName("nssxgobruoptktcf")
    public suspend fun filename(`value`: Output) {
        this.filename = value
    }

    /**
     * @param value The content of library requirements.
     */
    @JvmName("gatlshabkoxxaghn")
    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 library requirements file.
     */
    @JvmName("cqqgbqrivfrcnkfw")
    public suspend fun filename(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.filename = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy