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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.LiteralJobInputArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.LiteralJobInputArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Literal input type.
 * @property description Description for the input.
 * @property jobInputType Enum to determine the Job Input Type.
 * Expected value is 'literal'.
 * @property value [Required] Literal value for the input.
 */
public data class LiteralJobInputArgs(
    public val description: Output? = null,
    public val jobInputType: Output,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.LiteralJobInputArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.LiteralJobInputArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .jobInputType(jobInputType.applyValue({ args0 -> args0 }))
            .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LiteralJobInputArgs].
 */
@PulumiTagMarker
public class LiteralJobInputArgsBuilder internal constructor() {
    private var description: Output? = null

    private var jobInputType: Output? = null

    private var `value`: Output? = null

    /**
     * @param value Description for the input.
     */
    @JvmName("bgxlhgtqcjtaplge")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Enum to determine the Job Input Type.
     * Expected value is 'literal'.
     */
    @JvmName("fscnltcdagtkggbe")
    public suspend fun jobInputType(`value`: Output) {
        this.jobInputType = value
    }

    /**
     * @param value [Required] Literal value for the input.
     */
    @JvmName("ueeqvucngluefhfb")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value Description for the input.
     */
    @JvmName("vhamtoouobiyiqhn")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Enum to determine the Job Input Type.
     * Expected value is 'literal'.
     */
    @JvmName("qntymepetywpiaky")
    public suspend fun jobInputType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.jobInputType = mapped
    }

    /**
     * @param value [Required] Literal value for the input.
     */
    @JvmName("pjtcqsxgqexpckkw")
    public suspend fun `value`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): LiteralJobInputArgs = LiteralJobInputArgs(
        description = description,
        jobInputType = jobInputType ?: throw PulumiNullFieldException("jobInputType"),
        `value` = `value` ?: throw PulumiNullFieldException("value"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy