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

com.pulumi.googlenative.datastream.v1.kotlin.outputs.MysqlProfileResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.datastream.v1.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * MySQL database profile.
 * @property hostname Hostname for the MySQL connection.
 * @property password Input only. Password for the MySQL connection.
 * @property port Port for the MySQL connection, default value is 3306.
 * @property sslConfig SSL configuration for the MySQL connection.
 * @property username Username for the MySQL connection.
 */
public data class MysqlProfileResponse(
    public val hostname: String,
    public val password: String,
    public val port: Int,
    public val sslConfig: MysqlSslConfigResponse,
    public val username: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.datastream.v1.outputs.MysqlProfileResponse): MysqlProfileResponse = MysqlProfileResponse(
            hostname = javaType.hostname(),
            password = javaType.password(),
            port = javaType.port(),
            sslConfig = javaType.sslConfig().let({ args0 ->
                com.pulumi.googlenative.datastream.v1.kotlin.outputs.MysqlSslConfigResponse.Companion.toKotlin(args0)
            }),
            username = javaType.username(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy