com.pulumi.googlenative.container.v1beta1.kotlin.inputs.ConfidentialNodesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.container.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.container.v1beta1.inputs.ConfidentialNodesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.
* @property enabled Whether Confidential Nodes feature is enabled.
*/
public data class ConfidentialNodesArgs(
public val enabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.container.v1beta1.inputs.ConfidentialNodesArgs =
com.pulumi.googlenative.container.v1beta1.inputs.ConfidentialNodesArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConfidentialNodesArgs].
*/
@PulumiTagMarker
public class ConfidentialNodesArgsBuilder internal constructor() {
private var enabled: Output? = null
/**
* @param value Whether Confidential Nodes feature is enabled.
*/
@JvmName("bxclbqwudriajsyx")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Whether Confidential Nodes feature is enabled.
*/
@JvmName("fypkvcxfpnunnicu")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
internal fun build(): ConfidentialNodesArgs = ConfidentialNodesArgs(
enabled = enabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy