com.pulumi.azure.hdinsight.kotlin.inputs.HBaseClusterComponentVersionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.hdinsight.kotlin.inputs
import com.pulumi.azure.hdinsight.inputs.HBaseClusterComponentVersionArgs.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 hbase The version of HBase which should be used for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
*/
public data class HBaseClusterComponentVersionArgs(
public val hbase: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.hdinsight.inputs.HBaseClusterComponentVersionArgs =
com.pulumi.azure.hdinsight.inputs.HBaseClusterComponentVersionArgs.builder()
.hbase(hbase.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HBaseClusterComponentVersionArgs].
*/
@PulumiTagMarker
public class HBaseClusterComponentVersionArgsBuilder internal constructor() {
private var hbase: Output? = null
/**
* @param value The version of HBase which should be used for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
*/
@JvmName("gtownbmyasivsaiw")
public suspend fun hbase(`value`: Output) {
this.hbase = value
}
/**
* @param value The version of HBase which should be used for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
*/
@JvmName("igeplrkjgdwidnik")
public suspend fun hbase(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.hbase = mapped
}
internal fun build(): HBaseClusterComponentVersionArgs = HBaseClusterComponentVersionArgs(
hbase = hbase ?: throw PulumiNullFieldException("hbase"),
)
}