com.pulumi.gcp.integrationconnectors.kotlin.inputs.ConnectionNodeConfigArgs.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.integrationconnectors.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.integrationconnectors.inputs.ConnectionNodeConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property maxNodeCount Minimum number of nodes in the runtime nodes.
* @property minNodeCount Minimum number of nodes in the runtime nodes.
*/
public data class ConnectionNodeConfigArgs(
public val maxNodeCount: Output? = null,
public val minNodeCount: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.integrationconnectors.inputs.ConnectionNodeConfigArgs =
com.pulumi.gcp.integrationconnectors.inputs.ConnectionNodeConfigArgs.builder()
.maxNodeCount(maxNodeCount?.applyValue({ args0 -> args0 }))
.minNodeCount(minNodeCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionNodeConfigArgs].
*/
@PulumiTagMarker
public class ConnectionNodeConfigArgsBuilder internal constructor() {
private var maxNodeCount: Output? = null
private var minNodeCount: Output? = null
/**
* @param value Minimum number of nodes in the runtime nodes.
*/
@JvmName("pxbujgqsxsvpbavv")
public suspend fun maxNodeCount(`value`: Output) {
this.maxNodeCount = value
}
/**
* @param value Minimum number of nodes in the runtime nodes.
*/
@JvmName("wkdkmsjcuffxlpkg")
public suspend fun minNodeCount(`value`: Output) {
this.minNodeCount = value
}
/**
* @param value Minimum number of nodes in the runtime nodes.
*/
@JvmName("oaevfmgaeosjjxlu")
public suspend fun maxNodeCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxNodeCount = mapped
}
/**
* @param value Minimum number of nodes in the runtime nodes.
*/
@JvmName("xxbaysjslguahjka")
public suspend fun minNodeCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minNodeCount = mapped
}
internal fun build(): ConnectionNodeConfigArgs = ConnectionNodeConfigArgs(
maxNodeCount = maxNodeCount,
minNodeCount = minNodeCount,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy