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

com.pulumi.awsnative.iotsitewise.kotlin.outputs.GetGatewayResult.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.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotsitewise.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property gatewayCapabilitySummaries A list of gateway capability summaries that each contain a namespace and status.
 * @property gatewayId The ID of the gateway device.
 * @property gatewayName A unique, friendly name for the gateway.
 * @property tags A list of key-value pairs that contain metadata for the gateway.
 */
public data class GetGatewayResult(
    public val gatewayCapabilitySummaries: List? = null,
    public val gatewayId: String? = null,
    public val gatewayName: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.GetGatewayResult): GetGatewayResult = GetGatewayResult(
            gatewayCapabilitySummaries = javaType.gatewayCapabilitySummaries().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotsitewise.kotlin.outputs.GatewayCapabilitySummary.Companion.toKotlin(args0)
                })
            }),
            gatewayId = javaType.gatewayId().map({ args0 -> args0 }).orElse(null),
            gatewayName = javaType.gatewayName().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy