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