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

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

package com.pulumi.awsnative.iotwireless.kotlin.inputs

import com.pulumi.awsnative.iotwireless.inputs.WirelessDeviceLoRaWanDeviceArgs.builder
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.jvm.JvmName

/**
 *
 * @property abpV10x ABP device object for LoRaWAN specification v1.0.x.
 * @property abpV11 ABP device object for create APIs for v1.1.
 * @property devEui The DevEUI value.
 * @property deviceProfileId The ID of the device profile for the new wireless device.
 * @property otaaV10x OTAA device object for create APIs for v1.0.x
 * @property otaaV11 OTAA device object for v1.1 for create APIs.
 * @property serviceProfileId The ID of the service profile.
 */
public data class WirelessDeviceLoRaWanDeviceArgs(
    public val abpV10x: Output? = null,
    public val abpV11: Output? = null,
    public val devEui: Output? = null,
    public val deviceProfileId: Output? = null,
    public val otaaV10x: Output? = null,
    public val otaaV11: Output? = null,
    public val serviceProfileId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotwireless.inputs.WirelessDeviceLoRaWanDeviceArgs =
        com.pulumi.awsnative.iotwireless.inputs.WirelessDeviceLoRaWanDeviceArgs.builder()
            .abpV10x(abpV10x?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .abpV11(abpV11?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .devEui(devEui?.applyValue({ args0 -> args0 }))
            .deviceProfileId(deviceProfileId?.applyValue({ args0 -> args0 }))
            .otaaV10x(otaaV10x?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .otaaV11(otaaV11?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .serviceProfileId(serviceProfileId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WirelessDeviceLoRaWanDeviceArgs].
 */
@PulumiTagMarker
public class WirelessDeviceLoRaWanDeviceArgsBuilder internal constructor() {
    private var abpV10x: Output? = null

    private var abpV11: Output? = null

    private var devEui: Output? = null

    private var deviceProfileId: Output? = null

    private var otaaV10x: Output? = null

    private var otaaV11: Output? = null

    private var serviceProfileId: Output? = null

    /**
     * @param value ABP device object for LoRaWAN specification v1.0.x.
     */
    @JvmName("cwlhcohnojqbwrqw")
    public suspend fun abpV10x(`value`: Output) {
        this.abpV10x = value
    }

    /**
     * @param value ABP device object for create APIs for v1.1.
     */
    @JvmName("odlbgdesjnwafjim")
    public suspend fun abpV11(`value`: Output) {
        this.abpV11 = value
    }

    /**
     * @param value The DevEUI value.
     */
    @JvmName("yralpkyllnjxinim")
    public suspend fun devEui(`value`: Output) {
        this.devEui = value
    }

    /**
     * @param value The ID of the device profile for the new wireless device.
     */
    @JvmName("uaxttmjvpjomhila")
    public suspend fun deviceProfileId(`value`: Output) {
        this.deviceProfileId = value
    }

    /**
     * @param value OTAA device object for create APIs for v1.0.x
     */
    @JvmName("jrjintyxtmjpmtbb")
    public suspend fun otaaV10x(`value`: Output) {
        this.otaaV10x = value
    }

    /**
     * @param value OTAA device object for v1.1 for create APIs.
     */
    @JvmName("ddfvrcnyuhtbasum")
    public suspend fun otaaV11(`value`: Output) {
        this.otaaV11 = value
    }

    /**
     * @param value The ID of the service profile.
     */
    @JvmName("nlfclawvnoseafum")
    public suspend fun serviceProfileId(`value`: Output) {
        this.serviceProfileId = value
    }

    /**
     * @param value ABP device object for LoRaWAN specification v1.0.x.
     */
    @JvmName("avcvcecaknfdgjbi")
    public suspend fun abpV10x(`value`: WirelessDeviceAbpV10xArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.abpV10x = mapped
    }

    /**
     * @param argument ABP device object for LoRaWAN specification v1.0.x.
     */
    @JvmName("fysdnmtrtnybinep")
    public suspend fun abpV10x(argument: suspend WirelessDeviceAbpV10xArgsBuilder.() -> Unit) {
        val toBeMapped = WirelessDeviceAbpV10xArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.abpV10x = mapped
    }

    /**
     * @param value ABP device object for create APIs for v1.1.
     */
    @JvmName("rhbiajbcsukaorai")
    public suspend fun abpV11(`value`: WirelessDeviceAbpV11Args?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.abpV11 = mapped
    }

    /**
     * @param argument ABP device object for create APIs for v1.1.
     */
    @JvmName("sjyqmrfevntgthfg")
    public suspend fun abpV11(argument: suspend WirelessDeviceAbpV11ArgsBuilder.() -> Unit) {
        val toBeMapped = WirelessDeviceAbpV11ArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.abpV11 = mapped
    }

    /**
     * @param value The DevEUI value.
     */
    @JvmName("fhmbinjlfttvdaac")
    public suspend fun devEui(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.devEui = mapped
    }

    /**
     * @param value The ID of the device profile for the new wireless device.
     */
    @JvmName("njoetqkpdxksmmgs")
    public suspend fun deviceProfileId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deviceProfileId = mapped
    }

    /**
     * @param value OTAA device object for create APIs for v1.0.x
     */
    @JvmName("tefwiocqhwihlxbq")
    public suspend fun otaaV10x(`value`: WirelessDeviceOtaaV10xArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.otaaV10x = mapped
    }

    /**
     * @param argument OTAA device object for create APIs for v1.0.x
     */
    @JvmName("oqixdbcaiejeyrkh")
    public suspend fun otaaV10x(argument: suspend WirelessDeviceOtaaV10xArgsBuilder.() -> Unit) {
        val toBeMapped = WirelessDeviceOtaaV10xArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.otaaV10x = mapped
    }

    /**
     * @param value OTAA device object for v1.1 for create APIs.
     */
    @JvmName("jxjguvkjkqssimva")
    public suspend fun otaaV11(`value`: WirelessDeviceOtaaV11Args?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.otaaV11 = mapped
    }

    /**
     * @param argument OTAA device object for v1.1 for create APIs.
     */
    @JvmName("keucwpitqbvsxlra")
    public suspend fun otaaV11(argument: suspend WirelessDeviceOtaaV11ArgsBuilder.() -> Unit) {
        val toBeMapped = WirelessDeviceOtaaV11ArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.otaaV11 = mapped
    }

    /**
     * @param value The ID of the service profile.
     */
    @JvmName("mtyvbodfqiwqkvhj")
    public suspend fun serviceProfileId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceProfileId = mapped
    }

    internal fun build(): WirelessDeviceLoRaWanDeviceArgs = WirelessDeviceLoRaWanDeviceArgs(
        abpV10x = abpV10x,
        abpV11 = abpV11,
        devEui = devEui,
        deviceProfileId = deviceProfileId,
        otaaV10x = otaaV10x,
        otaaV11 = otaaV11,
        serviceProfileId = serviceProfileId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy