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

com.pulumi.aws.sagemaker.kotlin.inputs.SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementArgs.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.SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementArgs.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 SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementArgs(
    public val idleSettings: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.sagemaker.inputs.SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementArgs =
        com.pulumi.aws.sagemaker.inputs.SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementArgs.builder()
            .idleSettings(idleSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

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

    /**
     * @param value Settings related to idle shutdown of Studio applications. See `idle_settings` Block below.
     */
    @JvmName("flqtekteigdslugu")
    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("ykjtedxfmpbrhoew")
    public suspend fun idleSettings(`value`: SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs?) {
        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("vyxdnfxcgsfsjmqk")
    public suspend fun idleSettings(argument: suspend SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            SpaceSpaceSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.idleSettings = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy