com.pulumi.gcp.datastream.kotlin.outputs.ConnectionProfilePostgresqlProfile.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.datastream.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property database Database for the PostgreSQL connection.
* @property hostname Hostname for the PostgreSQL connection.
* @property password Password for the PostgreSQL connection.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property port Port for the PostgreSQL connection.
* @property username Username for the PostgreSQL connection.
*/
public data class ConnectionProfilePostgresqlProfile(
public val database: String,
public val hostname: String,
public val password: String,
public val port: Int? = null,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.ConnectionProfilePostgresqlProfile): ConnectionProfilePostgresqlProfile = ConnectionProfilePostgresqlProfile(
database = javaType.database(),
hostname = javaType.hostname(),
password = javaType.password(),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
username = javaType.username(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy