com.pulumi.gcp.datastream.kotlin.outputs.ConnectionProfileMysqlProfile.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 hostname Hostname for the MySQL connection.
* @property password Password for the MySQL connection.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property port Port for the MySQL connection.
* @property sslConfig SSL configuration for the MySQL connection.
* Structure is documented below.
* @property username Username for the MySQL connection.
*/
public data class ConnectionProfileMysqlProfile(
public val hostname: String,
public val password: String,
public val port: Int? = null,
public val sslConfig: ConnectionProfileMysqlProfileSslConfig? = null,
public val username: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.ConnectionProfileMysqlProfile): ConnectionProfileMysqlProfile = ConnectionProfileMysqlProfile(
hostname = javaType.hostname(),
password = javaType.password(),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
sslConfig = javaType.sslConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.datastream.kotlin.outputs.ConnectionProfileMysqlProfileSslConfig.Companion.toKotlin(args0)
})
}).orElse(null),
username = javaType.username(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy