![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.sagemaker.kotlin.inputs.SpaceCodeEditorAppSettingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.SpaceCodeEditorAppSettingsArgs.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
/**
* The CodeEditor app settings.
* @property appLifecycleManagement
* @property defaultResourceSpec Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
*/
public data class SpaceCodeEditorAppSettingsArgs(
public val appLifecycleManagement: Output? = null,
public val defaultResourceSpec: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.SpaceCodeEditorAppSettingsArgs =
com.pulumi.awsnative.sagemaker.inputs.SpaceCodeEditorAppSettingsArgs.builder()
.appLifecycleManagement(
appLifecycleManagement?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.defaultResourceSpec(
defaultResourceSpec?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [SpaceCodeEditorAppSettingsArgs].
*/
@PulumiTagMarker
public class SpaceCodeEditorAppSettingsArgsBuilder internal constructor() {
private var appLifecycleManagement: Output? = null
private var defaultResourceSpec: Output? = null
/**
* @param value
*/
@JvmName("aucdudgeqytlqcnt")
public suspend fun appLifecycleManagement(`value`: Output) {
this.appLifecycleManagement = value
}
/**
* @param value Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
*/
@JvmName("ccjasfrvbgawnnrf")
public suspend fun defaultResourceSpec(`value`: Output) {
this.defaultResourceSpec = value
}
/**
* @param value
*/
@JvmName("awcrfiwumhunnflf")
public suspend fun appLifecycleManagement(`value`: SpaceAppLifecycleManagementArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.appLifecycleManagement = mapped
}
/**
* @param argument
*/
@JvmName("nlalrynsckqptbsa")
public suspend fun appLifecycleManagement(argument: suspend SpaceAppLifecycleManagementArgsBuilder.() -> Unit) {
val toBeMapped = SpaceAppLifecycleManagementArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.appLifecycleManagement = mapped
}
/**
* @param value Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
*/
@JvmName("slfniqmqdpvrnhwc")
public suspend fun defaultResourceSpec(`value`: SpaceResourceSpecArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultResourceSpec = mapped
}
/**
* @param argument Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
*/
@JvmName("flqycjrwduqanpop")
public suspend fun defaultResourceSpec(argument: suspend SpaceResourceSpecArgsBuilder.() -> Unit) {
val toBeMapped = SpaceResourceSpecArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.defaultResourceSpec = mapped
}
internal fun build(): SpaceCodeEditorAppSettingsArgs = SpaceCodeEditorAppSettingsArgs(
appLifecycleManagement = appLifecycleManagement,
defaultResourceSpec = defaultResourceSpec,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy