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

com.pulumi.azure.hdinsight.kotlin.inputs.HadoopClusterComponentVersionArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.hdinsight.kotlin.inputs

import com.pulumi.azure.hdinsight.inputs.HadoopClusterComponentVersionArgs.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 hadoop The version of Hadoop which should be used for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
 */
public data class HadoopClusterComponentVersionArgs(
    public val hadoop: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.HadoopClusterComponentVersionArgs =
        com.pulumi.azure.hdinsight.inputs.HadoopClusterComponentVersionArgs.builder()
            .hadoop(hadoop.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [HadoopClusterComponentVersionArgs].
 */
@PulumiTagMarker
public class HadoopClusterComponentVersionArgsBuilder internal constructor() {
    private var hadoop: Output? = null

    /**
     * @param value The version of Hadoop which should be used for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
     */
    @JvmName("dmoaebclewwcioca")
    public suspend fun hadoop(`value`: Output) {
        this.hadoop = value
    }

    /**
     * @param value The version of Hadoop which should be used for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
     */
    @JvmName("hqlqhkhcujljdftk")
    public suspend fun hadoop(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hadoop = mapped
    }

    internal fun build(): HadoopClusterComponentVersionArgs = HadoopClusterComponentVersionArgs(
        hadoop = hadoop ?: throw PulumiNullFieldException("hadoop"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy