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

com.pulumi.awsnative.robomaker.kotlin.SimulationApplicationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.robomaker.kotlin

import com.pulumi.awsnative.robomaker.SimulationApplicationArgs.builder
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationRenderingEngineArgs
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationRenderingEngineArgsBuilder
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationRobotSoftwareSuiteArgs
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationRobotSoftwareSuiteArgsBuilder
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationSimulationSoftwareSuiteArgs
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationSimulationSoftwareSuiteArgsBuilder
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationSourceConfigArgs
import com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationSourceConfigArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * This schema is for testing purpose only.
 * ## Example Usage
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * @property currentRevisionId The current revision id.
 * @property environment The URI of the Docker image for the robot application.
 * @property name The name of the simulation application.
 * @property renderingEngine The rendering engine for the simulation application.
 * @property robotSoftwareSuite The robot software suite used by the simulation application.
 * @property simulationSoftwareSuite The simulation software suite used by the simulation application.
 * @property sources The sources of the simulation application.
 * @property tags A map that contains tag keys and tag values that are attached to the simulation application.
 */
public data class SimulationApplicationArgs(
    public val currentRevisionId: Output? = null,
    public val environment: Output? = null,
    public val name: Output? = null,
    public val renderingEngine: Output? = null,
    public val robotSoftwareSuite: Output? = null,
    public val simulationSoftwareSuite: Output? =
        null,
    public val sources: Output>? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.robomaker.SimulationApplicationArgs =
        com.pulumi.awsnative.robomaker.SimulationApplicationArgs.builder()
            .currentRevisionId(currentRevisionId?.applyValue({ args0 -> args0 }))
            .environment(environment?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .renderingEngine(renderingEngine?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .robotSoftwareSuite(
                robotSoftwareSuite?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .simulationSoftwareSuite(
                simulationSoftwareSuite?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sources(
                sources?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [SimulationApplicationArgs].
 */
@PulumiTagMarker
public class SimulationApplicationArgsBuilder internal constructor() {
    private var currentRevisionId: Output? = null

    private var environment: Output? = null

    private var name: Output? = null

    private var renderingEngine: Output? = null

    private var robotSoftwareSuite: Output? = null

    private var simulationSoftwareSuite: Output? =
        null

    private var sources: Output>? = null

    private var tags: Output>? = null

    /**
     * @param value The current revision id.
     */
    @JvmName("tgxgiupfhctmjcqn")
    public suspend fun currentRevisionId(`value`: Output) {
        this.currentRevisionId = value
    }

    /**
     * @param value The URI of the Docker image for the robot application.
     */
    @JvmName("tpiatjoxpkgwlfmi")
    public suspend fun environment(`value`: Output) {
        this.environment = value
    }

    /**
     * @param value The name of the simulation application.
     */
    @JvmName("jcemexqsxckbuxor")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The rendering engine for the simulation application.
     */
    @JvmName("wpgkaqewwpsvbvtn")
    public suspend fun renderingEngine(`value`: Output) {
        this.renderingEngine = value
    }

    /**
     * @param value The robot software suite used by the simulation application.
     */
    @JvmName("jqphsqhhbqmlwfnu")
    public suspend fun robotSoftwareSuite(`value`: Output) {
        this.robotSoftwareSuite = value
    }

    /**
     * @param value The simulation software suite used by the simulation application.
     */
    @JvmName("ciuhiccbbsmnsrtx")
    public suspend fun simulationSoftwareSuite(`value`: Output) {
        this.simulationSoftwareSuite = value
    }

    /**
     * @param value The sources of the simulation application.
     */
    @JvmName("ypvvxfjvjvcydkfd")
    public suspend fun sources(`value`: Output>) {
        this.sources = value
    }

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

    /**
     * @param values The sources of the simulation application.
     */
    @JvmName("yxgtxeofiwsbrsoa")
    public suspend fun sources(values: List>) {
        this.sources = Output.all(values)
    }

    /**
     * @param value A map that contains tag keys and tag values that are attached to the simulation application.
     */
    @JvmName("abymvqqijrylnmpc")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The current revision id.
     */
    @JvmName("ohphgqklfiubudny")
    public suspend fun currentRevisionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.currentRevisionId = mapped
    }

    /**
     * @param value The URI of the Docker image for the robot application.
     */
    @JvmName("ocglpjxdkphpspdo")
    public suspend fun environment(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.environment = mapped
    }

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

    /**
     * @param value The rendering engine for the simulation application.
     */
    @JvmName("kljjsnwmsxnixufe")
    public suspend fun renderingEngine(`value`: SimulationApplicationRenderingEngineArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.renderingEngine = mapped
    }

    /**
     * @param argument The rendering engine for the simulation application.
     */
    @JvmName("lbfjwtdnumjumvhx")
    public suspend fun renderingEngine(argument: suspend SimulationApplicationRenderingEngineArgsBuilder.() -> Unit) {
        val toBeMapped = SimulationApplicationRenderingEngineArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.renderingEngine = mapped
    }

    /**
     * @param value The robot software suite used by the simulation application.
     */
    @JvmName("lsygolkoglyabwdk")
    public suspend fun robotSoftwareSuite(`value`: SimulationApplicationRobotSoftwareSuiteArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.robotSoftwareSuite = mapped
    }

    /**
     * @param argument The robot software suite used by the simulation application.
     */
    @JvmName("uvpvgwjdxiikxero")
    public suspend fun robotSoftwareSuite(argument: suspend SimulationApplicationRobotSoftwareSuiteArgsBuilder.() -> Unit) {
        val toBeMapped = SimulationApplicationRobotSoftwareSuiteArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.robotSoftwareSuite = mapped
    }

    /**
     * @param value The simulation software suite used by the simulation application.
     */
    @JvmName("kbgyljbjbhimtkcf")
    public suspend fun simulationSoftwareSuite(`value`: SimulationApplicationSimulationSoftwareSuiteArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.simulationSoftwareSuite = mapped
    }

    /**
     * @param argument The simulation software suite used by the simulation application.
     */
    @JvmName("ohhngdsfcplgcuir")
    public suspend fun simulationSoftwareSuite(argument: suspend SimulationApplicationSimulationSoftwareSuiteArgsBuilder.() -> Unit) {
        val toBeMapped = SimulationApplicationSimulationSoftwareSuiteArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.simulationSoftwareSuite = mapped
    }

    /**
     * @param value The sources of the simulation application.
     */
    @JvmName("txutyfbjqtkjqqqp")
    public suspend fun sources(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sources = mapped
    }

    /**
     * @param argument The sources of the simulation application.
     */
    @JvmName("vinupvbtlgibflps")
    public suspend fun sources(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            SimulationApplicationSourceConfigArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.sources = mapped
    }

    /**
     * @param argument The sources of the simulation application.
     */
    @JvmName("ntjtpgtdknnausrf")
    public suspend fun sources(vararg argument: suspend SimulationApplicationSourceConfigArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            SimulationApplicationSourceConfigArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.sources = mapped
    }

    /**
     * @param argument The sources of the simulation application.
     */
    @JvmName("vruvkrxgroaxkoul")
    public suspend fun sources(argument: suspend SimulationApplicationSourceConfigArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            SimulationApplicationSourceConfigArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.sources = mapped
    }

    /**
     * @param values The sources of the simulation application.
     */
    @JvmName("lqvtjgdicvhbqlks")
    public suspend fun sources(vararg values: SimulationApplicationSourceConfigArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sources = mapped
    }

    /**
     * @param value A map that contains tag keys and tag values that are attached to the simulation application.
     */
    @JvmName("ugefyjrmummbinly")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values A map that contains tag keys and tag values that are attached to the simulation application.
     */
    @JvmName("hdbeltlircvysxvo")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): SimulationApplicationArgs = SimulationApplicationArgs(
        currentRevisionId = currentRevisionId,
        environment = environment,
        name = name,
        renderingEngine = renderingEngine,
        robotSoftwareSuite = robotSoftwareSuite,
        simulationSoftwareSuite = simulationSoftwareSuite,
        sources = sources,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy