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

com.pulumi.awsnative.networkmanager.kotlin.outputs.GetDeviceResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.networkmanager.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property awsLocation The Amazon Web Services location of the device, if applicable.
 * @property createdAt The date and time that the device was created.
 * @property description The description of the device.
 * @property deviceArn The Amazon Resource Name (ARN) of the device.
 * @property deviceId The ID of the device.
 * @property location The site location.
 * @property model The device model
 * @property serialNumber The device serial number.
 * @property siteId The site ID.
 * @property state The state of the device.
 * @property tags The tags for the device.
 * @property type The device type.
 * @property vendor The device vendor.
 */
public data class GetDeviceResult(
    public val awsLocation: DeviceAwsLocation? = null,
    public val createdAt: String? = null,
    public val description: String? = null,
    public val deviceArn: String? = null,
    public val deviceId: String? = null,
    public val location: DeviceLocation? = null,
    public val model: String? = null,
    public val serialNumber: String? = null,
    public val siteId: String? = null,
    public val state: String? = null,
    public val tags: List? = null,
    public val type: String? = null,
    public val vendor: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.networkmanager.outputs.GetDeviceResult): GetDeviceResult = GetDeviceResult(
            awsLocation = javaType.awsLocation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.networkmanager.kotlin.outputs.DeviceAwsLocation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            deviceArn = javaType.deviceArn().map({ args0 -> args0 }).orElse(null),
            deviceId = javaType.deviceId().map({ args0 -> args0 }).orElse(null),
            location = javaType.location().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.networkmanager.kotlin.outputs.DeviceLocation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            model = javaType.model().map({ args0 -> args0 }).orElse(null),
            serialNumber = javaType.serialNumber().map({ args0 -> args0 }).orElse(null),
            siteId = javaType.siteId().map({ args0 -> args0 }).orElse(null),
            state = javaType.state().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
            vendor = javaType.vendor().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy