All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.digitalocean.kotlin.outputs.DatabasePostgresqlConfigPgbouncer.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 4.38.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property autodbIdleTimeout
 * @property autodbMaxDbConnections
 * @property autodbPoolMode
 * @property autodbPoolSize
 * @property ignoreStartupParameters
 * @property minPoolSize
 * @property serverIdleTimeout
 * @property serverLifetime
 * @property serverResetQueryAlways
 */
public data class DatabasePostgresqlConfigPgbouncer(
    public val autodbIdleTimeout: Int? = null,
    public val autodbMaxDbConnections: Int? = null,
    public val autodbPoolMode: String? = null,
    public val autodbPoolSize: Int? = null,
    public val ignoreStartupParameters: List? = null,
    public val minPoolSize: Int? = null,
    public val serverIdleTimeout: Int? = null,
    public val serverLifetime: Int? = null,
    public val serverResetQueryAlways: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.DatabasePostgresqlConfigPgbouncer): DatabasePostgresqlConfigPgbouncer = DatabasePostgresqlConfigPgbouncer(
            autodbIdleTimeout = javaType.autodbIdleTimeout().map({ args0 -> args0 }).orElse(null),
            autodbMaxDbConnections = javaType.autodbMaxDbConnections().map({ args0 -> args0 }).orElse(null),
            autodbPoolMode = javaType.autodbPoolMode().map({ args0 -> args0 }).orElse(null),
            autodbPoolSize = javaType.autodbPoolSize().map({ args0 -> args0 }).orElse(null),
            ignoreStartupParameters = javaType.ignoreStartupParameters().map({ args0 -> args0 }),
            minPoolSize = javaType.minPoolSize().map({ args0 -> args0 }).orElse(null),
            serverIdleTimeout = javaType.serverIdleTimeout().map({ args0 -> args0 }).orElse(null),
            serverLifetime = javaType.serverLifetime().map({ args0 -> args0 }).orElse(null),
            serverResetQueryAlways = javaType.serverResetQueryAlways().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy