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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property createTime The create time of the resource.
 * @property destinationAddress Destination address for connection
 * @property destinationPort Destination port for connection
 * @property displayName Display name.
 * @property labels Labels.
 * @property name The resource's name.
 * @property updateTime The update time of the resource.
 */
public data class GetRouteResult(
    public val createTime: String,
    public val destinationAddress: String,
    public val destinationPort: Int,
    public val displayName: String,
    public val labels: Map,
    public val name: String,
    public val updateTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.datastream.v1.outputs.GetRouteResult): GetRouteResult = GetRouteResult(
            createTime = javaType.createTime(),
            destinationAddress = javaType.destinationAddress(),
            destinationPort = javaType.destinationPort(),
            displayName = javaType.displayName(),
            labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            name = javaType.name(),
            updateTime = javaType.updateTime(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy