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

com.pulumi.awsnative.iotwireless.kotlin.outputs.GetMulticastGroupResult.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.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn Multicast group arn. Returned after successful create.
 * @property associateWirelessDevice Wireless device to associate. Only for update request.
 * @property description Multicast group description
 * @property disassociateWirelessDevice Wireless device to disassociate. Only for update request.
 * @property id Multicast group id. Returned after successful create.
 * @property loRaWan Multicast group LoRaWAN
 * @property name Name of Multicast group
 * @property status Multicast group status. Returned after successful read.
 * @property tags A list of key-value pairs that contain metadata for the Multicast group.
 */
public data class GetMulticastGroupResult(
    public val arn: String? = null,
    public val associateWirelessDevice: String? = null,
    public val description: String? = null,
    public val disassociateWirelessDevice: String? = null,
    public val id: String? = null,
    public val loRaWan: MulticastGroupLoRaWan? = null,
    public val name: String? = null,
    public val status: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotwireless.outputs.GetMulticastGroupResult): GetMulticastGroupResult = GetMulticastGroupResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            associateWirelessDevice = javaType.associateWirelessDevice().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            disassociateWirelessDevice = javaType.disassociateWirelessDevice().map({ args0 ->
                args0
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            loRaWan = javaType.loRaWan().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotwireless.kotlin.outputs.MulticastGroupLoRaWan.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy