com.pulumi.gcp.vertex.kotlin.inputs.AiFeatureStoreOnlineServingConfigScalingArgs.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.vertex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigScalingArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property maxNodeCount The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
* @property minNodeCount The minimum number of nodes to scale down to. Must be greater than or equal to 1.
*/
public data class AiFeatureStoreOnlineServingConfigScalingArgs(
public val maxNodeCount: Output,
public val minNodeCount: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigScalingArgs =
com.pulumi.gcp.vertex.inputs.AiFeatureStoreOnlineServingConfigScalingArgs.builder()
.maxNodeCount(maxNodeCount.applyValue({ args0 -> args0 }))
.minNodeCount(minNodeCount.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AiFeatureStoreOnlineServingConfigScalingArgs].
*/
@PulumiTagMarker
public class AiFeatureStoreOnlineServingConfigScalingArgsBuilder internal constructor() {
private var maxNodeCount: Output? = null
private var minNodeCount: Output? = null
/**
* @param value The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
*/
@JvmName("qutqvaqphxtkbyru")
public suspend fun maxNodeCount(`value`: Output) {
this.maxNodeCount = value
}
/**
* @param value The minimum number of nodes to scale down to. Must be greater than or equal to 1.
*/
@JvmName("kfjjimxbypuffjpj")
public suspend fun minNodeCount(`value`: Output) {
this.minNodeCount = value
}
/**
* @param value The maximum number of nodes to scale up to. Must be greater than minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
*/
@JvmName("uufrxpvbnnlraysq")
public suspend fun maxNodeCount(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.maxNodeCount = mapped
}
/**
* @param value The minimum number of nodes to scale down to. Must be greater than or equal to 1.
*/
@JvmName("jjwrgvaqfpmoolsy")
public suspend fun minNodeCount(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.minNodeCount = mapped
}
internal fun build(): AiFeatureStoreOnlineServingConfigScalingArgs =
AiFeatureStoreOnlineServingConfigScalingArgs(
maxNodeCount = maxNodeCount ?: throw PulumiNullFieldException("maxNodeCount"),
minNodeCount = minNodeCount ?: throw PulumiNullFieldException("minNodeCount"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy