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

com.pulumi.awsnative.iotwireless.kotlin.outputs.GetServiceProfileResult.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 Service profile Arn. Returned after successful create.
 * @property id Service profile Id. Returned after successful create.
 * @property loRaWan LoRaWAN supports all LoRa specific attributes for service profile for CreateServiceProfile operation
 * @property name Name of service profile
 * @property tags A list of key-value pairs that contain metadata for the service profile.
 */
public data class GetServiceProfileResult(
    public val arn: String? = null,
    public val id: String? = null,
    public val loRaWan: ServiceProfileLoRaWanServiceProfile? = null,
    public val name: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotwireless.outputs.GetServiceProfileResult): GetServiceProfileResult = GetServiceProfileResult(
            arn = javaType.arn().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.ServiceProfileLoRaWanServiceProfile.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