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

com.pulumi.awsnative.iotsitewise.kotlin.outputs.GetProjectResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iotsitewise.kotlin.outputs

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

/**
 *
 * @property assetIds The IDs of the assets to be associated to the project.
 * @property projectArn The ARN of the project.
 * @property projectDescription A description for the project.
 * @property projectId The ID of the project.
 * @property projectName A friendly name for the project.
 * @property tags A list of key-value pairs that contain metadata for the project.
 */
public data class GetProjectResult(
    public val assetIds: List? = null,
    public val projectArn: String? = null,
    public val projectDescription: String? = null,
    public val projectId: String? = null,
    public val projectName: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.GetProjectResult): GetProjectResult = GetProjectResult(
            assetIds = javaType.assetIds().map({ args0 -> args0 }),
            projectArn = javaType.projectArn().map({ args0 -> args0 }).orElse(null),
            projectDescription = javaType.projectDescription().map({ args0 -> args0 }).orElse(null),
            projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
            projectName = javaType.projectName().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