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

com.pulumi.awsnative.iotwireless.kotlin.inputs.WirelessDeviceOtaaV10xArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.iotwireless.inputs.WirelessDeviceOtaaV10xArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property appEui The AppEUI value. You specify this value when using LoRaWAN versions v1.0.2 or v1.0.3.
 * @property appKey The AppKey value.
 */
public data class WirelessDeviceOtaaV10xArgs(
    public val appEui: Output,
    public val appKey: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotwireless.inputs.WirelessDeviceOtaaV10xArgs =
        com.pulumi.awsnative.iotwireless.inputs.WirelessDeviceOtaaV10xArgs.builder()
            .appEui(appEui.applyValue({ args0 -> args0 }))
            .appKey(appKey.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WirelessDeviceOtaaV10xArgs].
 */
@PulumiTagMarker
public class WirelessDeviceOtaaV10xArgsBuilder internal constructor() {
    private var appEui: Output? = null

    private var appKey: Output? = null

    /**
     * @param value The AppEUI value. You specify this value when using LoRaWAN versions v1.0.2 or v1.0.3.
     */
    @JvmName("apmuuakrtgcskxgy")
    public suspend fun appEui(`value`: Output) {
        this.appEui = value
    }

    /**
     * @param value The AppKey value.
     */
    @JvmName("wmgdelrtcsqhvhod")
    public suspend fun appKey(`value`: Output) {
        this.appKey = value
    }

    /**
     * @param value The AppEUI value. You specify this value when using LoRaWAN versions v1.0.2 or v1.0.3.
     */
    @JvmName("hspfskwklsgktlqk")
    public suspend fun appEui(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.appEui = mapped
    }

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

    internal fun build(): WirelessDeviceOtaaV10xArgs = WirelessDeviceOtaaV10xArgs(
        appEui = appEui ?: throw PulumiNullFieldException("appEui"),
        appKey = appKey ?: throw PulumiNullFieldException("appKey"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy