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

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

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

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

import com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterLabAppSettingsArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * The JupyterLab app settings.
 * @property codeRepositories A list of CodeRepositories available for use with JupyterLab apps.
 * @property customImages A list of custom images available for use for JupyterLab apps
 * @property defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
 * @property lifecycleConfigArns A list of LifecycleConfigArns available for use with JupyterLab apps.
 */
public data class UserProfileJupyterLabAppSettingsArgs(
    public val codeRepositories: Output>? = null,
    public val customImages: Output>? = null,
    public val defaultResourceSpec: Output? = null,
    public val lifecycleConfigArns: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterLabAppSettingsArgs = com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterLabAppSettingsArgs.builder()
        .codeRepositories(
            codeRepositories?.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                })
            }),
        )
        .customImages(
            customImages?.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                })
            }),
        )
        .defaultResourceSpec(
            defaultResourceSpec?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .lifecycleConfigArns(
            lifecycleConfigArns?.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0
                })
            }),
        ).build()
}

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

    private var customImages: Output>? = null

    private var defaultResourceSpec: Output? = null

    private var lifecycleConfigArns: Output>? = null

    /**
     * @param value A list of CodeRepositories available for use with JupyterLab apps.
     */
    @JvmName("jljqngyetjususjw")
    public suspend fun codeRepositories(`value`: Output>) {
        this.codeRepositories = value
    }

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

    /**
     * @param values A list of CodeRepositories available for use with JupyterLab apps.
     */
    @JvmName("bhgvwamsemuugwos")
    public suspend fun codeRepositories(values: List>) {
        this.codeRepositories = Output.all(values)
    }

    /**
     * @param value A list of custom images available for use for JupyterLab apps
     */
    @JvmName("pyvlswvcvuonqnft")
    public suspend fun customImages(`value`: Output>) {
        this.customImages = value
    }

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

    /**
     * @param values A list of custom images available for use for JupyterLab apps
     */
    @JvmName("uvqohbfxhirhshck")
    public suspend fun customImages(values: List>) {
        this.customImages = Output.all(values)
    }

    /**
     * @param value The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
     */
    @JvmName("xbyncdxcroscxyqu")
    public suspend fun defaultResourceSpec(`value`: Output) {
        this.defaultResourceSpec = value
    }

    /**
     * @param value A list of LifecycleConfigArns available for use with JupyterLab apps.
     */
    @JvmName("goollooqioewxlcf")
    public suspend fun lifecycleConfigArns(`value`: Output>) {
        this.lifecycleConfigArns = value
    }

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

    /**
     * @param values A list of LifecycleConfigArns available for use with JupyterLab apps.
     */
    @JvmName("rsgrcfwocquieqrk")
    public suspend fun lifecycleConfigArns(values: List>) {
        this.lifecycleConfigArns = Output.all(values)
    }

    /**
     * @param value A list of CodeRepositories available for use with JupyterLab apps.
     */
    @JvmName("hhoujmjuuhsiaeea")
    public suspend fun codeRepositories(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.codeRepositories = mapped
    }

    /**
     * @param argument A list of CodeRepositories available for use with JupyterLab apps.
     */
    @JvmName("smjwejanoyrerxnl")
    public suspend fun codeRepositories(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            UserProfileCodeRepositoryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.codeRepositories = mapped
    }

    /**
     * @param argument A list of CodeRepositories available for use with JupyterLab apps.
     */
    @JvmName("krbwnehpfwibptwu")
    public suspend fun codeRepositories(vararg argument: suspend UserProfileCodeRepositoryArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            UserProfileCodeRepositoryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.codeRepositories = mapped
    }

    /**
     * @param argument A list of CodeRepositories available for use with JupyterLab apps.
     */
    @JvmName("htlrrldipixmilrn")
    public suspend fun codeRepositories(argument: suspend UserProfileCodeRepositoryArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            UserProfileCodeRepositoryArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.codeRepositories = mapped
    }

    /**
     * @param values A list of CodeRepositories available for use with JupyterLab apps.
     */
    @JvmName("fopkyfrdnahdmako")
    public suspend fun codeRepositories(vararg values: UserProfileCodeRepositoryArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.codeRepositories = mapped
    }

    /**
     * @param value A list of custom images available for use for JupyterLab apps
     */
    @JvmName("adrepcstfeqdtgnq")
    public suspend fun customImages(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customImages = mapped
    }

    /**
     * @param argument A list of custom images available for use for JupyterLab apps
     */
    @JvmName("ntmswannlopxbggq")
    public suspend fun customImages(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            UserProfileCustomImageArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.customImages = mapped
    }

    /**
     * @param argument A list of custom images available for use for JupyterLab apps
     */
    @JvmName("agbaypibaxuotpbr")
    public suspend fun customImages(vararg argument: suspend UserProfileCustomImageArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            UserProfileCustomImageArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.customImages = mapped
    }

    /**
     * @param argument A list of custom images available for use for JupyterLab apps
     */
    @JvmName("lvedvgknljkurieg")
    public suspend fun customImages(argument: suspend UserProfileCustomImageArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(UserProfileCustomImageArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.customImages = mapped
    }

    /**
     * @param values A list of custom images available for use for JupyterLab apps
     */
    @JvmName("owvyjlhqfxadbbbf")
    public suspend fun customImages(vararg values: UserProfileCustomImageArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.customImages = mapped
    }

    /**
     * @param value The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.
     */
    @JvmName("ambtcknyfklajojr")
    public suspend fun defaultResourceSpec(`value`: UserProfileResourceSpecArgs?) {
        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 JupyterLab app.
     */
    @JvmName("hmdfccgcrpklyjgf")
    public suspend fun defaultResourceSpec(argument: suspend UserProfileResourceSpecArgsBuilder.() -> Unit) {
        val toBeMapped = UserProfileResourceSpecArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.defaultResourceSpec = mapped
    }

    /**
     * @param value A list of LifecycleConfigArns available for use with JupyterLab apps.
     */
    @JvmName("aormcmpdjptepfhq")
    public suspend fun lifecycleConfigArns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.lifecycleConfigArns = mapped
    }

    /**
     * @param values A list of LifecycleConfigArns available for use with JupyterLab apps.
     */
    @JvmName("svvupwsmlvekfbsp")
    public suspend fun lifecycleConfigArns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.lifecycleConfigArns = mapped
    }

    internal fun build(): UserProfileJupyterLabAppSettingsArgs = UserProfileJupyterLabAppSettingsArgs(
        codeRepositories = codeRepositories,
        customImages = customImages,
        defaultResourceSpec = defaultResourceSpec,
        lifecycleConfigArns = lifecycleConfigArns,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy