com.pulumi.awsnative.iotwireless.kotlin.outputs.GetWirelessGatewayResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.iotwireless.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn Arn for Wireless Gateway. Returned upon successful create.
* @property description Description of Wireless Gateway.
* @property id Id for Wireless Gateway. Returned upon successful create.
* @property lastUplinkReceivedAt The date and time when the most recent uplink was received.
* @property loRaWan The combination of Package, Station and Model which represents the version of the LoRaWAN Wireless Gateway.
* @property name Name of Wireless Gateway.
* @property tags A list of key-value pairs that contain metadata for the gateway.
* @property thingArn Thing Arn. Passed into Update to associate a Thing with the Wireless Gateway.
* @property thingName Thing Name. If there is a Thing created, this can be returned with a Get call.
*/
public data class GetWirelessGatewayResult(
public val arn: String? = null,
public val description: String? = null,
public val id: String? = null,
public val lastUplinkReceivedAt: String? = null,
public val loRaWan: WirelessGatewayLoRaWanGateway? = null,
public val name: String? = null,
public val tags: List? = null,
public val thingArn: String? = null,
public val thingName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotwireless.outputs.GetWirelessGatewayResult): GetWirelessGatewayResult = GetWirelessGatewayResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
lastUplinkReceivedAt = javaType.lastUplinkReceivedAt().map({ args0 -> args0 }).orElse(null),
loRaWan = javaType.loRaWan().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotwireless.kotlin.outputs.WirelessGatewayLoRaWanGateway.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
thingArn = javaType.thingArn().map({ args0 -> args0 }).orElse(null),
thingName = javaType.thingName().map({ args0 -> args0 }).orElse(null),
)
}
}