![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileCustomImageArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.UserProfileCustomImageArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A custom SageMaker image.
* @property appImageConfigName The Name of the AppImageConfig.
* @property imageName The name of the CustomImage. Must be unique to your account.
* @property imageVersionNumber The version number of the CustomImage.
*/
public data class UserProfileCustomImageArgs(
public val appImageConfigName: Output,
public val imageName: Output,
public val imageVersionNumber: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileCustomImageArgs =
com.pulumi.awsnative.sagemaker.inputs.UserProfileCustomImageArgs.builder()
.appImageConfigName(appImageConfigName.applyValue({ args0 -> args0 }))
.imageName(imageName.applyValue({ args0 -> args0 }))
.imageVersionNumber(imageVersionNumber?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserProfileCustomImageArgs].
*/
@PulumiTagMarker
public class UserProfileCustomImageArgsBuilder internal constructor() {
private var appImageConfigName: Output? = null
private var imageName: Output? = null
private var imageVersionNumber: Output? = null
/**
* @param value The Name of the AppImageConfig.
*/
@JvmName("gecricmqhqwffqil")
public suspend fun appImageConfigName(`value`: Output) {
this.appImageConfigName = value
}
/**
* @param value The name of the CustomImage. Must be unique to your account.
*/
@JvmName("xjsjlwxpjaytaukx")
public suspend fun imageName(`value`: Output) {
this.imageName = value
}
/**
* @param value The version number of the CustomImage.
*/
@JvmName("tinwxaoldcsegncp")
public suspend fun imageVersionNumber(`value`: Output) {
this.imageVersionNumber = value
}
/**
* @param value The Name of the AppImageConfig.
*/
@JvmName("pbulntbyxhjfqlix")
public suspend fun appImageConfigName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.appImageConfigName = mapped
}
/**
* @param value The name of the CustomImage. Must be unique to your account.
*/
@JvmName("fhqdgdcjxipibold")
public suspend fun imageName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.imageName = mapped
}
/**
* @param value The version number of the CustomImage.
*/
@JvmName("fimmwmqywqhogyod")
public suspend fun imageVersionNumber(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.imageVersionNumber = mapped
}
internal fun build(): UserProfileCustomImageArgs = UserProfileCustomImageArgs(
appImageConfigName = appImageConfigName ?: throw PulumiNullFieldException("appImageConfigName"),
imageName = imageName ?: throw PulumiNullFieldException("imageName"),
imageVersionNumber = imageVersionNumber,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy