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

com.pulumi.awsnative.iotwireless.kotlin.outputs.GetFuotaTaskResult.kt Maven / Gradle / Ivy

@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 FUOTA task arn. Returned after successful create.
 * @property associateMulticastGroup Multicast group to associate. Only for update request.
 * @property associateWirelessDevice Wireless device to associate. Only for update request.
 * @property description FUOTA task description
 * @property disassociateMulticastGroup Multicast group to disassociate. Only for update request.
 * @property disassociateWirelessDevice Wireless device to disassociate. Only for update request.
 * @property firmwareUpdateImage FUOTA task firmware update image binary S3 link
 * @property firmwareUpdateRole FUOTA task firmware IAM role for reading S3
 * @property fuotaTaskStatus FUOTA task status. Returned after successful read.
 * @property id FUOTA task id. Returned after successful create.
 * @property loRaWan FUOTA task LoRaWAN
 * @property name Name of FUOTA task
 * @property tags A list of key-value pairs that contain metadata for the FUOTA task.
 */
public data class GetFuotaTaskResult(
    public val arn: String? = null,
    public val associateMulticastGroup: String? = null,
    public val associateWirelessDevice: String? = null,
    public val description: String? = null,
    public val disassociateMulticastGroup: String? = null,
    public val disassociateWirelessDevice: String? = null,
    public val firmwareUpdateImage: String? = null,
    public val firmwareUpdateRole: String? = null,
    public val fuotaTaskStatus: String? = null,
    public val id: String? = null,
    public val loRaWan: FuotaTaskLoRaWan? = null,
    public val name: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotwireless.outputs.GetFuotaTaskResult): GetFuotaTaskResult = GetFuotaTaskResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            associateMulticastGroup = javaType.associateMulticastGroup().map({ args0 -> args0 }).orElse(null),
            associateWirelessDevice = javaType.associateWirelessDevice().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            disassociateMulticastGroup = javaType.disassociateMulticastGroup().map({ args0 ->
                args0
            }).orElse(null),
            disassociateWirelessDevice = javaType.disassociateWirelessDevice().map({ args0 ->
                args0
            }).orElse(null),
            firmwareUpdateImage = javaType.firmwareUpdateImage().map({ args0 -> args0 }).orElse(null),
            firmwareUpdateRole = javaType.firmwareUpdateRole().map({ args0 -> args0 }).orElse(null),
            fuotaTaskStatus = javaType.fuotaTaskStatus().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.FuotaTaskLoRaWan.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)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy