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

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

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

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

import com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterServerAppSettingsArgs.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 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.
 * @property lifecycleConfigArns A list of LifecycleConfigArns available for use with JupyterServer apps.
 */
public data class UserProfileJupyterServerAppSettingsArgs(
    public val defaultResourceSpec: Output? = null,
    public val lifecycleConfigArns: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterServerAppSettingsArgs =
        com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterServerAppSettingsArgs.builder()
            .defaultResourceSpec(
                defaultResourceSpec?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .lifecycleConfigArns(
                lifecycleConfigArns?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

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

    private var lifecycleConfigArns: Output>? = null

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

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

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

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

    /**
     * @param value The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
     */
    @JvmName("styeixbxroycwwem")
    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 JupyterServer app.
     */
    @JvmName("uqvchkgjkxnlnlfa")
    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 JupyterServer apps.
     */
    @JvmName("ofwiwmircyjicqkf")
    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 JupyterServer apps.
     */
    @JvmName("djfpcecjumetyelf")
    public suspend fun lifecycleConfigArns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.lifecycleConfigArns = mapped
    }

    internal fun build(): UserProfileJupyterServerAppSettingsArgs =
        UserProfileJupyterServerAppSettingsArgs(
            defaultResourceSpec = defaultResourceSpec,
            lifecycleConfigArns = lifecycleConfigArns,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy