![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.TcpConnectionPoolArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.TcpConnectionPoolArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Defines parameters for tcp connection pooling
* @property maxConnections Maximum number of tcp connections allowed
*/
public data class TcpConnectionPoolArgs(
public val maxConnections: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.TcpConnectionPoolArgs =
com.pulumi.azurenative.app.inputs.TcpConnectionPoolArgs.builder()
.maxConnections(maxConnections?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TcpConnectionPoolArgs].
*/
@PulumiTagMarker
public class TcpConnectionPoolArgsBuilder internal constructor() {
private var maxConnections: Output? = null
/**
* @param value Maximum number of tcp connections allowed
*/
@JvmName("ncbdwkacvekobebu")
public suspend fun maxConnections(`value`: Output) {
this.maxConnections = value
}
/**
* @param value Maximum number of tcp connections allowed
*/
@JvmName("qocyyfwfdtrlgeme")
public suspend fun maxConnections(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxConnections = mapped
}
internal fun build(): TcpConnectionPoolArgs = TcpConnectionPoolArgs(
maxConnections = maxConnections,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy