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

com.pulumi.awsnative.iottwinmaker.kotlin.SceneArgs.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.iottwinmaker.kotlin

import com.pulumi.awsnative.iottwinmaker.SceneArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Resource schema for AWS::IoTTwinMaker::Scene
 * @property capabilities A list of capabilities that the scene uses to render.
 * @property contentLocation The relative path that specifies the location of the content definition file.
 * @property description The description of the scene.
 * @property sceneId The ID of the scene.
 * @property sceneMetadata A key-value pair of scene metadata for the scene.
 * @property tags A key-value pair to associate with a resource.
 * @property workspaceId The ID of the scene.
 */
public data class SceneArgs(
    public val capabilities: Output>? = null,
    public val contentLocation: Output? = null,
    public val description: Output? = null,
    public val sceneId: Output? = null,
    public val sceneMetadata: Output>? = null,
    public val tags: Output>? = null,
    public val workspaceId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iottwinmaker.SceneArgs =
        com.pulumi.awsnative.iottwinmaker.SceneArgs.builder()
            .capabilities(capabilities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .contentLocation(contentLocation?.applyValue({ args0 -> args0 }))
            .description(description?.applyValue({ args0 -> args0 }))
            .sceneId(sceneId?.applyValue({ args0 -> args0 }))
            .sceneMetadata(
                sceneMetadata?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .workspaceId(workspaceId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SceneArgs].
 */
@PulumiTagMarker
public class SceneArgsBuilder internal constructor() {
    private var capabilities: Output>? = null

    private var contentLocation: Output? = null

    private var description: Output? = null

    private var sceneId: Output? = null

    private var sceneMetadata: Output>? = null

    private var tags: Output>? = null

    private var workspaceId: Output? = null

    /**
     * @param value A list of capabilities that the scene uses to render.
     */
    @JvmName("uiupdmeblkmdhqvn")
    public suspend fun capabilities(`value`: Output>) {
        this.capabilities = value
    }

    @JvmName("ramkfhmbxwruuoge")
    public suspend fun capabilities(vararg values: Output) {
        this.capabilities = Output.all(values.asList())
    }

    /**
     * @param values A list of capabilities that the scene uses to render.
     */
    @JvmName("wedrxccwmomxuflp")
    public suspend fun capabilities(values: List>) {
        this.capabilities = Output.all(values)
    }

    /**
     * @param value The relative path that specifies the location of the content definition file.
     */
    @JvmName("iqbpdepruovltxhb")
    public suspend fun contentLocation(`value`: Output) {
        this.contentLocation = value
    }

    /**
     * @param value The description of the scene.
     */
    @JvmName("tdothxhpkvsofqwm")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The ID of the scene.
     */
    @JvmName("ovkutleebgmoxmxi")
    public suspend fun sceneId(`value`: Output) {
        this.sceneId = value
    }

    /**
     * @param value A key-value pair of scene metadata for the scene.
     */
    @JvmName("cociucnyfuyydgxb")
    public suspend fun sceneMetadata(`value`: Output>) {
        this.sceneMetadata = value
    }

    /**
     * @param value A key-value pair to associate with a resource.
     */
    @JvmName("oojxfptveooanqrj")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The ID of the scene.
     */
    @JvmName("yrjxjpbdgkpepagu")
    public suspend fun workspaceId(`value`: Output) {
        this.workspaceId = value
    }

    /**
     * @param value A list of capabilities that the scene uses to render.
     */
    @JvmName("erkhhpctnpihrkhu")
    public suspend fun capabilities(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.capabilities = mapped
    }

    /**
     * @param values A list of capabilities that the scene uses to render.
     */
    @JvmName("cbhacbaeifsdbiqs")
    public suspend fun capabilities(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.capabilities = mapped
    }

    /**
     * @param value The relative path that specifies the location of the content definition file.
     */
    @JvmName("gurimvbjhrnuxtve")
    public suspend fun contentLocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contentLocation = mapped
    }

    /**
     * @param value The description of the scene.
     */
    @JvmName("dajxckgtliederma")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The ID of the scene.
     */
    @JvmName("avgwcghemkudnvut")
    public suspend fun sceneId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sceneId = mapped
    }

    /**
     * @param value A key-value pair of scene metadata for the scene.
     */
    @JvmName("qbnyscmonhiupxfg")
    public suspend fun sceneMetadata(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sceneMetadata = mapped
    }

    /**
     * @param values A key-value pair of scene metadata for the scene.
     */
    @JvmName("ydyrdifslaqemktv")
    public fun sceneMetadata(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sceneMetadata = mapped
    }

    /**
     * @param value A key-value pair to associate with a resource.
     */
    @JvmName("tadilbvqmngtvhhg")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values A key-value pair to associate with a resource.
     */
    @JvmName("ofumpfmseviovwhm")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The ID of the scene.
     */
    @JvmName("bkqxjoegowitfphm")
    public suspend fun workspaceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workspaceId = mapped
    }

    internal fun build(): SceneArgs = SceneArgs(
        capabilities = capabilities,
        contentLocation = contentLocation,
        description = description,
        sceneId = sceneId,
        sceneMetadata = sceneMetadata,
        tags = tags,
        workspaceId = workspaceId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy