com.pulumi.awsnative.iotwireless.kotlin.WirelessDeviceArgs.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
import com.pulumi.awsnative.iotwireless.WirelessDeviceArgs.builder
import com.pulumi.awsnative.iotwireless.kotlin.enums.WirelessDeviceType
import com.pulumi.awsnative.iotwireless.kotlin.inputs.WirelessDeviceLoRaWanDeviceArgs
import com.pulumi.awsnative.iotwireless.kotlin.inputs.WirelessDeviceLoRaWanDeviceArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Create and manage wireless gateways, including LoRa gateways.
* @property description Wireless device description
* @property destinationName Wireless device destination name
* @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 type Wireless device type, currently only Sidewalk and LoRa
*/
public data class WirelessDeviceArgs(
public val description: Output? = null,
public val destinationName: Output? = null,
public val lastUplinkReceivedAt: Output? = null,
public val loRaWan: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
public val thingArn: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotwireless.WirelessDeviceArgs =
com.pulumi.awsnative.iotwireless.WirelessDeviceArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.destinationName(destinationName?.applyValue({ args0 -> args0 }))
.lastUplinkReceivedAt(lastUplinkReceivedAt?.applyValue({ args0 -> args0 }))
.loRaWan(loRaWan?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.thingArn(thingArn?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [WirelessDeviceArgs].
*/
@PulumiTagMarker
public class WirelessDeviceArgsBuilder internal constructor() {
private var description: Output? = null
private var destinationName: Output? = null
private var lastUplinkReceivedAt: Output? = null
private var loRaWan: Output? = null
private var name: Output? = null
private var tags: Output>? = null
private var thingArn: Output? = null
private var type: Output? = null
/**
* @param value Wireless device description
*/
@JvmName("tnyalhbfpcuxpwds")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Wireless device destination name
*/
@JvmName("otmxjobnjkhslkyc")
public suspend fun destinationName(`value`: Output) {
this.destinationName = value
}
/**
* @param value The date and time when the most recent uplink was received.
*/
@JvmName("rqawsyuinbpqjabx")
public suspend fun lastUplinkReceivedAt(`value`: Output) {
this.lastUplinkReceivedAt = value
}
/**
* @param value The combination of Package, Station and Model which represents the version of the LoRaWAN Wireless Device.
*/
@JvmName("kapgyicobtuoagoy")
public suspend fun loRaWan(`value`: Output) {
this.loRaWan = value
}
/**
* @param value Wireless device name
*/
@JvmName("cohxutsjdufuyjbl")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A list of key-value pairs that contain metadata for the device. Currently not supported, will not create if tags are passed.
*/
@JvmName("arhhcieethnjwkrq")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("mjwpacessignupbu")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A list of key-value pairs that contain metadata for the device. Currently not supported, will not create if tags are passed.
*/
@JvmName("vvnfayyctdisbbac")
public suspend fun tags(values: List