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

com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.GetConnectionProfileResult.kt Maven / Gradle / Ivy

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

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property createTime The create time of the resource.
 * @property displayName Display name.
 * @property forwardSshConnectivity Forward SSH tunnel connectivity.
 * @property gcsProfile Cloud Storage ConnectionProfile configuration.
 * @property labels Labels.
 * @property mysqlProfile MySQL ConnectionProfile configuration.
 * @property name The resource's name.
 * @property noConnectivity No connectivity option chosen.
 * @property oracleProfile Oracle ConnectionProfile configuration.
 * @property privateConnectivity Private connectivity.
 * @property staticServiceIpConnectivity Static Service IP connectivity.
 * @property updateTime The update time of the resource.
 */
public data class GetConnectionProfileResult(
    public val createTime: String,
    public val displayName: String,
    public val forwardSshConnectivity: ForwardSshTunnelConnectivityResponse,
    public val gcsProfile: GcsProfileResponse,
    public val labels: Map,
    public val mysqlProfile: MysqlProfileResponse,
    public val name: String,
    public val noConnectivity: NoConnectivitySettingsResponse,
    public val oracleProfile: OracleProfileResponse,
    public val privateConnectivity: PrivateConnectivityResponse,
    public val staticServiceIpConnectivity: StaticServiceIpConnectivityResponse,
    public val updateTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.datastream.v1alpha1.outputs.GetConnectionProfileResult): GetConnectionProfileResult = GetConnectionProfileResult(
            createTime = javaType.createTime(),
            displayName = javaType.displayName(),
            forwardSshConnectivity = javaType.forwardSshConnectivity().let({ args0 ->
                com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.ForwardSshTunnelConnectivityResponse.Companion.toKotlin(args0)
            }),
            gcsProfile = javaType.gcsProfile().let({ args0 ->
                com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.GcsProfileResponse.Companion.toKotlin(args0)
            }),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            mysqlProfile = javaType.mysqlProfile().let({ args0 ->
                com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.MysqlProfileResponse.Companion.toKotlin(args0)
            }),
            name = javaType.name(),
            noConnectivity = javaType.noConnectivity().let({ args0 ->
                com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.NoConnectivitySettingsResponse.Companion.toKotlin(args0)
            }),
            oracleProfile = javaType.oracleProfile().let({ args0 ->
                com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.OracleProfileResponse.Companion.toKotlin(args0)
            }),
            privateConnectivity = javaType.privateConnectivity().let({ args0 ->
                com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.PrivateConnectivityResponse.Companion.toKotlin(args0)
            }),
            staticServiceIpConnectivity = javaType.staticServiceIpConnectivity().let({ args0 ->
                com.pulumi.googlenative.datastream.v1alpha1.kotlin.outputs.StaticServiceIpConnectivityResponse.Companion.toKotlin(args0)
            }),
            updateTime = javaType.updateTime(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy