
com.pulumi.aws.sagemaker.kotlin.inputs.DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.sagemaker.kotlin.inputs
import com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property idleTimeoutInMinutes The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`.
* @property lifecycleManagement Indicates whether idle shutdown is activated for the application type. Valid values are `ENABLED` and `DISABLED`.
* @property maxIdleTimeoutInMinutes The maximum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
* @property minIdleTimeoutInMinutes The minimum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
public data class
DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs(
public val idleTimeoutInMinutes: Output? = null,
public val lifecycleManagement: Output? = null,
public val maxIdleTimeoutInMinutes: Output? = null,
public val minIdleTimeoutInMinutes: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs =
com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs.builder()
.idleTimeoutInMinutes(idleTimeoutInMinutes?.applyValue({ args0 -> args0 }))
.lifecycleManagement(lifecycleManagement?.applyValue({ args0 -> args0 }))
.maxIdleTimeoutInMinutes(maxIdleTimeoutInMinutes?.applyValue({ args0 -> args0 }))
.minIdleTimeoutInMinutes(minIdleTimeoutInMinutes?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs].
*/
@PulumiTagMarker
public class
DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgsBuilder
internal constructor() {
private var idleTimeoutInMinutes: Output? = null
private var lifecycleManagement: Output? = null
private var maxIdleTimeoutInMinutes: Output? = null
private var minIdleTimeoutInMinutes: Output? = null
/**
* @param value The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`.
*/
@JvmName("jxrsdtwiraxttlac")
public suspend fun idleTimeoutInMinutes(`value`: Output) {
this.idleTimeoutInMinutes = value
}
/**
* @param value Indicates whether idle shutdown is activated for the application type. Valid values are `ENABLED` and `DISABLED`.
*/
@JvmName("hmgxtxbnrviiscpe")
public suspend fun lifecycleManagement(`value`: Output) {
this.lifecycleManagement = value
}
/**
* @param value The maximum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("rwvvfjqpdewnujvm")
public suspend fun maxIdleTimeoutInMinutes(`value`: Output) {
this.maxIdleTimeoutInMinutes = value
}
/**
* @param value The minimum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("bathayqqylntpxgm")
public suspend fun minIdleTimeoutInMinutes(`value`: Output) {
this.minIdleTimeoutInMinutes = value
}
/**
* @param value The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`.
*/
@JvmName("lbwshyplvaxqyxkv")
public suspend fun idleTimeoutInMinutes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.idleTimeoutInMinutes = mapped
}
/**
* @param value Indicates whether idle shutdown is activated for the application type. Valid values are `ENABLED` and `DISABLED`.
*/
@JvmName("lvfnlyeavyfbqdcb")
public suspend fun lifecycleManagement(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lifecycleManagement = mapped
}
/**
* @param value The maximum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("mxjrdgsscmotwmhl")
public suspend fun maxIdleTimeoutInMinutes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxIdleTimeoutInMinutes = mapped
}
/**
* @param value The minimum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("npcqspubihrjxpmi")
public suspend fun minIdleTimeoutInMinutes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minIdleTimeoutInMinutes = mapped
}
internal fun build(): DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs =
DomainDefaultUserSettingsCodeEditorAppSettingsAppLifecycleManagementIdleSettingsArgs(
idleTimeoutInMinutes = idleTimeoutInMinutes,
lifecycleManagement = lifecycleManagement,
maxIdleTimeoutInMinutes = maxIdleTimeoutInMinutes,
minIdleTimeoutInMinutes = minIdleTimeoutInMinutes,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy