com.pulumi.gcp.datastream.kotlin.outputs.ConnectionProfileOracleProfile.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
import kotlin.collections.Map
/**
*
* @property connectionAttributes Connection string attributes
* @property databaseService Database for the Oracle connection.
* @property hostname Hostname for the Oracle connection.
* @property password Password for the Oracle connection.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property port Port for the Oracle connection.
* @property username Username for the Oracle connection.
*/
public data class ConnectionProfileOracleProfile(
public val connectionAttributes: Map? = null,
public val databaseService: 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.ConnectionProfileOracleProfile): ConnectionProfileOracleProfile = ConnectionProfileOracleProfile(
connectionAttributes = javaType.connectionAttributes().map({ args0 ->
args0.key.to(args0.value)
}).toMap(),
databaseService = javaType.databaseService(),
hostname = javaType.hostname(),
password = javaType.password(),
port = javaType.port().map({ args0 -> args0 }).orElse(null),
username = javaType.username(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy