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

com.pulumi.awsnative.sagemaker.kotlin.inputs.SpaceJupyterServerAppSettingsArgs.kt Maven / Gradle / Ivy

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

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

import com.pulumi.awsnative.sagemaker.inputs.SpaceJupyterServerAppSettingsArgs.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 JupyterServer app settings.
 * @property defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the `LifecycleConfigArns` parameter, then this parameter is also required.
 */
public data class SpaceJupyterServerAppSettingsArgs(
    public val defaultResourceSpec: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.SpaceJupyterServerAppSettingsArgs =
        com.pulumi.awsnative.sagemaker.inputs.SpaceJupyterServerAppSettingsArgs.builder()
            .defaultResourceSpec(
                defaultResourceSpec?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

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

    /**
     * @param value The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the `LifecycleConfigArns` parameter, then this parameter is also required.
     */
    @JvmName("vbqiqrsdldsgrygd")
    public suspend fun defaultResourceSpec(`value`: Output) {
        this.defaultResourceSpec = value
    }

    /**
     * @param value The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the `LifecycleConfigArns` parameter, then this parameter is also required.
     */
    @JvmName("uybvrgvevxolijig")
    public suspend fun defaultResourceSpec(`value`: SpaceResourceSpecArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.defaultResourceSpec = mapped
    }

    /**
     * @param argument The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the `LifecycleConfigArns` parameter, then this parameter is also required.
     */
    @JvmName("nykikxdxclqelpkw")
    public suspend fun defaultResourceSpec(argument: suspend SpaceResourceSpecArgsBuilder.() -> Unit) {
        val toBeMapped = SpaceResourceSpecArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.defaultResourceSpec = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy