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

com.pulumi.aws.sagemaker.kotlin.inputs.AppImageConfigCodeEditorAppImageConfigContainerConfigArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.sagemaker.kotlin.inputs

import com.pulumi.aws.sagemaker.inputs.AppImageConfigCodeEditorAppImageConfigContainerConfigArgs.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

/**
 *
 * @property containerArguments The arguments for the container when you're running the application.
 * @property containerEntrypoints The entrypoint used to run the application in the container.
 * @property containerEnvironmentVariables The environment variables to set in the container.
 */
public data class AppImageConfigCodeEditorAppImageConfigContainerConfigArgs(
    public val containerArguments: Output>? = null,
    public val containerEntrypoints: Output>? = null,
    public val containerEnvironmentVariables: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.sagemaker.inputs.AppImageConfigCodeEditorAppImageConfigContainerConfigArgs =
        com.pulumi.aws.sagemaker.inputs.AppImageConfigCodeEditorAppImageConfigContainerConfigArgs.builder()
            .containerArguments(containerArguments?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .containerEntrypoints(containerEntrypoints?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .containerEnvironmentVariables(
                containerEnvironmentVariables?.applyValue({ args0 ->
                    args0.map({ args0 -> args0.key.to(args0.value) }).toMap()
                }),
            ).build()
}

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

    private var containerEntrypoints: Output>? = null

    private var containerEnvironmentVariables: Output>? = null

    /**
     * @param value The arguments for the container when you're running the application.
     */
    @JvmName("vegrarlcvjoytydc")
    public suspend fun containerArguments(`value`: Output>) {
        this.containerArguments = value
    }

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

    /**
     * @param values The arguments for the container when you're running the application.
     */
    @JvmName("qaibapnjjxulihva")
    public suspend fun containerArguments(values: List>) {
        this.containerArguments = Output.all(values)
    }

    /**
     * @param value The entrypoint used to run the application in the container.
     */
    @JvmName("ejfmvihsnmogjbxx")
    public suspend fun containerEntrypoints(`value`: Output>) {
        this.containerEntrypoints = value
    }

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

    /**
     * @param values The entrypoint used to run the application in the container.
     */
    @JvmName("pwiskclwigwjyipd")
    public suspend fun containerEntrypoints(values: List>) {
        this.containerEntrypoints = Output.all(values)
    }

    /**
     * @param value The environment variables to set in the container.
     */
    @JvmName("jnqqnndktivqkqep")
    public suspend fun containerEnvironmentVariables(`value`: Output>) {
        this.containerEnvironmentVariables = value
    }

    /**
     * @param value The arguments for the container when you're running the application.
     */
    @JvmName("ergtpvrwumdrktac")
    public suspend fun containerArguments(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerArguments = mapped
    }

    /**
     * @param values The arguments for the container when you're running the application.
     */
    @JvmName("jvndhmfpgsecvhcq")
    public suspend fun containerArguments(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.containerArguments = mapped
    }

    /**
     * @param value The entrypoint used to run the application in the container.
     */
    @JvmName("wiqxoqquktjkuefr")
    public suspend fun containerEntrypoints(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerEntrypoints = mapped
    }

    /**
     * @param values The entrypoint used to run the application in the container.
     */
    @JvmName("jrcjmmpllwpoexti")
    public suspend fun containerEntrypoints(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.containerEntrypoints = mapped
    }

    /**
     * @param value The environment variables to set in the container.
     */
    @JvmName("lkqivrilsssklpbs")
    public suspend fun containerEnvironmentVariables(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerEnvironmentVariables = mapped
    }

    /**
     * @param values The environment variables to set in the container.
     */
    @JvmName("cobtptoduoesospn")
    public fun containerEnvironmentVariables(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.containerEnvironmentVariables = mapped
    }

    internal fun build(): AppImageConfigCodeEditorAppImageConfigContainerConfigArgs =
        AppImageConfigCodeEditorAppImageConfigContainerConfigArgs(
            containerArguments = containerArguments,
            containerEntrypoints = containerEntrypoints,
            containerEnvironmentVariables = containerEnvironmentVariables,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy