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

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

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.AppImageConfigJupyterLabAppImageConfigArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * The configuration for the kernels in a SageMaker image running as a JupyterLab app.
 * @property containerConfig The container configuration for a SageMaker image.
 */
public data class AppImageConfigJupyterLabAppImageConfigArgs(
    public val containerConfig: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.AppImageConfigJupyterLabAppImageConfigArgs =
        com.pulumi.awsnative.sagemaker.inputs.AppImageConfigJupyterLabAppImageConfigArgs.builder()
            .containerConfig(
                containerConfig?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AppImageConfigJupyterLabAppImageConfigArgs].
 */
@PulumiTagMarker
public class AppImageConfigJupyterLabAppImageConfigArgsBuilder internal constructor() {
    private var containerConfig: Output? = null

    /**
     * @param value The container configuration for a SageMaker image.
     */
    @JvmName("aaaluabaivouvuop")
    public suspend fun containerConfig(`value`: Output) {
        this.containerConfig = value
    }

    /**
     * @param value The container configuration for a SageMaker image.
     */
    @JvmName("xdswqaigasoskwab")
    public suspend fun containerConfig(`value`: AppImageConfigContainerConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerConfig = mapped
    }

    /**
     * @param argument The container configuration for a SageMaker image.
     */
    @JvmName("qqjcavatrnkaasup")
    public suspend fun containerConfig(argument: suspend AppImageConfigContainerConfigArgsBuilder.() -> Unit) {
        val toBeMapped = AppImageConfigContainerConfigArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.containerConfig = mapped
    }

    internal fun build(): AppImageConfigJupyterLabAppImageConfigArgs =
        AppImageConfigJupyterLabAppImageConfigArgs(
            containerConfig = containerConfig,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy