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

com.pulumi.awsnative.iotwireless.kotlin.outputs.GetWirelessDeviceResult.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotwireless.kotlin.outputs

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

/**
 *
 * @property arn Wireless device arn. Returned after successful create.
 * @property description Wireless device description
 * @property destinationName Wireless device destination name
 * @property id Wireless device Id. Returned after 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 Device.
 * @property name Wireless device name
 * @property tags A list of key-value pairs that contain metadata for the device. Currently not supported, will not create if tags are passed.
 * @property thingArn Thing arn. Passed into update to associate Thing with Wireless device.
 * @property thingName Thing Arn. If there is a Thing created, this can be returned with a Get call.
 * @property type Wireless device type, currently only Sidewalk and LoRa
 */
public data class GetWirelessDeviceResult(
    public val arn: String? = null,
    public val description: String? = null,
    public val destinationName: String? = null,
    public val id: String? = null,
    public val lastUplinkReceivedAt: String? = null,
    public val loRaWan: WirelessDeviceLoRaWanDevice? = null,
    public val name: String? = null,
    public val tags: List? = null,
    public val thingArn: String? = null,
    public val thingName: String? = null,
    public val type: WirelessDeviceType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotwireless.outputs.GetWirelessDeviceResult): GetWirelessDeviceResult = GetWirelessDeviceResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            destinationName = javaType.destinationName().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.WirelessDeviceLoRaWanDevice.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),
            type = javaType.type().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotwireless.kotlin.enums.WirelessDeviceType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy