com.pulumi.gcp.container.kotlin.inputs.ClusterNodePoolDefaultsArgs.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.container.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterNodePoolDefaultsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property nodeConfigDefaults Subset of NodeConfig message that has defaults.
*/
public data class ClusterNodePoolDefaultsArgs(
public val nodeConfigDefaults: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterNodePoolDefaultsArgs =
com.pulumi.gcp.container.inputs.ClusterNodePoolDefaultsArgs.builder()
.nodeConfigDefaults(
nodeConfigDefaults?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ClusterNodePoolDefaultsArgs].
*/
@PulumiTagMarker
public class ClusterNodePoolDefaultsArgsBuilder internal constructor() {
private var nodeConfigDefaults: Output? = null
/**
* @param value Subset of NodeConfig message that has defaults.
*/
@JvmName("eehpljbyqxgglofe")
public suspend fun nodeConfigDefaults(`value`: Output) {
this.nodeConfigDefaults = value
}
/**
* @param value Subset of NodeConfig message that has defaults.
*/
@JvmName("dksstpvtreorsexi")
public suspend fun nodeConfigDefaults(`value`: ClusterNodePoolDefaultsNodeConfigDefaultsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nodeConfigDefaults = mapped
}
/**
* @param argument Subset of NodeConfig message that has defaults.
*/
@JvmName("uqrlvmpgmrsgnhpw")
public suspend fun nodeConfigDefaults(argument: suspend ClusterNodePoolDefaultsNodeConfigDefaultsArgsBuilder.() -> Unit) {
val toBeMapped = ClusterNodePoolDefaultsNodeConfigDefaultsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.nodeConfigDefaults = mapped
}
internal fun build(): ClusterNodePoolDefaultsArgs = ClusterNodePoolDefaultsArgs(
nodeConfigDefaults = nodeConfigDefaults,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy