![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.hdinsight.kotlin.inputs.SparkClusterComponentVersionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.SparkClusterComponentVersionArgs.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 spark The version of Spark which should be used for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
*/
public data class SparkClusterComponentVersionArgs(
public val spark: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hdinsight.inputs.SparkClusterComponentVersionArgs =
com.pulumi.azure.hdinsight.inputs.SparkClusterComponentVersionArgs.builder()
.spark(spark.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SparkClusterComponentVersionArgs].
*/
@PulumiTagMarker
public class SparkClusterComponentVersionArgsBuilder internal constructor() {
private var spark: Output? = null
/**
* @param value The version of Spark which should be used for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
*/
@JvmName("vjqwiwwmygvlqnkx")
public suspend fun spark(`value`: Output) {
this.spark = value
}
/**
* @param value The version of Spark which should be used for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
*/
@JvmName("ijoetkugscsetllb")
public suspend fun spark(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.spark = mapped
}
internal fun build(): SparkClusterComponentVersionArgs = SparkClusterComponentVersionArgs(
spark = spark ?: throw PulumiNullFieldException("spark"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy