com.pulumi.gcp.container.kotlin.inputs.ClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityArgs.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.ClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property key The default or custom node affinity label key name.
* @property operator Specifies affinity or anti-affinity. Accepted values are `"IN"` or `"NOT_IN"`
* @property values List of node affinity label values as strings.
*/
public data class ClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityArgs(
public val key: Output,
public val `operator`: Output,
public val values: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.ClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityArgs =
com.pulumi.gcp.container.inputs.ClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityArgs.builder()
.key(key.applyValue({ args0 -> args0 }))
.`operator`(`operator`.applyValue({ args0 -> args0 }))
.values(values.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityArgs].
*/
@PulumiTagMarker
public class ClusterNodePoolNodeConfigSoleTenantConfigNodeAffinityArgsBuilder internal constructor() {
private var key: Output? = null
private var `operator`: Output? = null
private var values: Output>? = null
/**
* @param value The default or custom node affinity label key name.
*/
@JvmName("jaxqkgoosmuljneo")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Specifies affinity or anti-affinity. Accepted values are `"IN"` or `"NOT_IN"`
*/
@JvmName("swxmrqqqxovxlccq")
public suspend fun `operator`(`value`: Output) {
this.`operator` = value
}
/**
* @param value List of node affinity label values as strings.
*/
@JvmName("rximiobcmgpdwngg")
public suspend fun values(`value`: Output>) {
this.values = value
}
@JvmName("nobwliqxrfoymqnq")
public suspend fun values(vararg values: Output) {
this.values = Output.all(values.asList())
}
/**
* @param values List of node affinity label values as strings.
*/
@JvmName("aottsyurgmivkywu")
public suspend fun values(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy