com.pulumi.gcp.dataproc.kotlin.inputs.ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataproc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs.builder
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 nodeGroupUri The URI of a sole-tenant node group resource that the cluster will be created on.
*/
public data class ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs(
public val nodeGroupUri: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs =
com.pulumi.gcp.dataproc.inputs.ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs.builder()
.nodeGroupUri(nodeGroupUri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs].
*/
@PulumiTagMarker
public class ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgsBuilder internal constructor() {
private var nodeGroupUri: Output? = null
/**
* @param value The URI of a sole-tenant node group resource that the cluster will be created on.
*/
@JvmName("yqaecebmiuobwsbf")
public suspend fun nodeGroupUri(`value`: Output) {
this.nodeGroupUri = value
}
/**
* @param value The URI of a sole-tenant node group resource that the cluster will be created on.
*/
@JvmName("edcwdpysfejxujhy")
public suspend fun nodeGroupUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.nodeGroupUri = mapped
}
internal fun build(): ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs =
ClusterClusterConfigGceClusterConfigNodeGroupAffinityArgs(
nodeGroupUri = nodeGroupUri ?: throw PulumiNullFieldException("nodeGroupUri"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy