
com.pulumi.googlenative.container.v1.kotlin.inputs.MaxPodsConstraintArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.container.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.container.v1.inputs.MaxPodsConstraintArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Constraints applied to pods.
* @property maxPodsPerNode Constraint enforced on the max num of pods per node.
*/
public data class MaxPodsConstraintArgs(
public val maxPodsPerNode: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.container.v1.inputs.MaxPodsConstraintArgs =
com.pulumi.googlenative.container.v1.inputs.MaxPodsConstraintArgs.builder()
.maxPodsPerNode(maxPodsPerNode?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MaxPodsConstraintArgs].
*/
@PulumiTagMarker
public class MaxPodsConstraintArgsBuilder internal constructor() {
private var maxPodsPerNode: Output? = null
/**
* @param value Constraint enforced on the max num of pods per node.
*/
@JvmName("hwjsbrjbnbdbyyif")
public suspend fun maxPodsPerNode(`value`: Output) {
this.maxPodsPerNode = value
}
/**
* @param value Constraint enforced on the max num of pods per node.
*/
@JvmName("jwbcabnnxpvemflc")
public suspend fun maxPodsPerNode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxPodsPerNode = mapped
}
internal fun build(): MaxPodsConstraintArgs = MaxPodsConstraintArgs(
maxPodsPerNode = maxPodsPerNode,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy