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

com.pulumi.awsnative.sagemaker.kotlin.inputs.SpaceCodeEditorAppSettingsArgs.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.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.SpaceCodeEditorAppSettingsArgs.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 CodeEditor app settings.
 * @property defaultResourceSpec Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
 */
public data class SpaceCodeEditorAppSettingsArgs(
    public val defaultResourceSpec: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.SpaceCodeEditorAppSettingsArgs =
        com.pulumi.awsnative.sagemaker.inputs.SpaceCodeEditorAppSettingsArgs.builder()
            .defaultResourceSpec(
                defaultResourceSpec?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [SpaceCodeEditorAppSettingsArgs].
 */
@PulumiTagMarker
public class SpaceCodeEditorAppSettingsArgsBuilder internal constructor() {
    private var defaultResourceSpec: Output? = null

    /**
     * @param value Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
     */
    @JvmName("wfbxrnqdgaonnhis")
    public suspend fun defaultResourceSpec(`value`: Output) {
        this.defaultResourceSpec = value
    }

    /**
     * @param value Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
     */
    @JvmName("bnrjqlepfipwbkyf")
    public suspend fun defaultResourceSpec(`value`: SpaceResourceSpecArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultResourceSpec = mapped
    }

    /**
     * @param argument Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
     */
    @JvmName("mugyimeumevdadtt")
    public suspend fun defaultResourceSpec(argument: suspend SpaceResourceSpecArgsBuilder.() -> Unit) {
        val toBeMapped = SpaceResourceSpecArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.defaultResourceSpec = mapped
    }

    internal fun build(): SpaceCodeEditorAppSettingsArgs = SpaceCodeEditorAppSettingsArgs(
        defaultResourceSpec = defaultResourceSpec,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy