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

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

package com.pulumi.aws.sagemaker.kotlin.inputs

import com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgs.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

/**
 *
 * @property idleSettings Settings related to idle shutdown of Studio applications. see `idle_settings` Block below.
 */
public data class DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgs(
    public val idleSettings: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgs =
        com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgs.builder()
            .idleSettings(idleSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgs].
 */
@PulumiTagMarker
public class DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgsBuilder
internal constructor() {
    private var idleSettings:
        Output? =
        null

    /**
     * @param value Settings related to idle shutdown of Studio applications. see `idle_settings` Block below.
     */
    @JvmName("cwfvsvhwlwbmytbi")
    public suspend fun idleSettings(`value`: Output) {
        this.idleSettings = value
    }

    /**
     * @param value Settings related to idle shutdown of Studio applications. see `idle_settings` Block below.
     */
    @JvmName("ecsoajcmsjiibtyh")
    public suspend fun idleSettings(`value`: DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.idleSettings = mapped
    }

    /**
     * @param argument Settings related to idle shutdown of Studio applications. see `idle_settings` Block below.
     */
    @JvmName("yrbokpitdlponekt")
    public suspend fun idleSettings(argument: suspend DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.idleSettings = mapped
    }

    internal fun build(): DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgs =
        DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementArgs(
            idleSettings = idleSettings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy