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

com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileCustomImageArgs.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: 1.11.0.0
Show newest version
@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("vewjquporqgffgvm")
    public suspend fun appImageConfigName(`value`: Output) {
        this.appImageConfigName = value
    }

    /**
     * @param value The name of the CustomImage. Must be unique to your account.
     */
    @JvmName("xicijnkgdtycbdhw")
    public suspend fun imageName(`value`: Output) {
        this.imageName = value
    }

    /**
     * @param value The version number of the CustomImage.
     */
    @JvmName("siigdmrwowaowboy")
    public suspend fun imageVersionNumber(`value`: Output) {
        this.imageVersionNumber = value
    }

    /**
     * @param value The Name of the AppImageConfig.
     */
    @JvmName("eaenbuedmyxhjrpc")
    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("plqnjwsiyhtshugm")
    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("ebhegorvibyrctom")
    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 - 2024 Weber Informatics LLC | Privacy Policy