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

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

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

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

import com.pulumi.azurenative.machinelearningservices.inputs.EndpointDeploymentModelArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property format Model format
 * @property name Model name.
 * @property source Optional. Deployment model source ARM resource ID.
 * @property version Model version.
 */
public data class EndpointDeploymentModelArgs(
    public val format: Output? = null,
    public val name: Output? = null,
    public val source: Output? = null,
    public val version: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.EndpointDeploymentModelArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.EndpointDeploymentModelArgs.builder()
            .format(format?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .source(source?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EndpointDeploymentModelArgs].
 */
@PulumiTagMarker
public class EndpointDeploymentModelArgsBuilder internal constructor() {
    private var format: Output? = null

    private var name: Output? = null

    private var source: Output? = null

    private var version: Output? = null

    /**
     * @param value Model format
     */
    @JvmName("aetkvhhadciyglki")
    public suspend fun format(`value`: Output) {
        this.format = value
    }

    /**
     * @param value Model name.
     */
    @JvmName("msdjmrfnjujpefvr")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Optional. Deployment model source ARM resource ID.
     */
    @JvmName("dtalsdkscoftimtf")
    public suspend fun source(`value`: Output) {
        this.source = value
    }

    /**
     * @param value Model version.
     */
    @JvmName("idxtpjftllylydef")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value Model format
     */
    @JvmName("hepqnjwkrbetqxhg")
    public suspend fun format(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.format = mapped
    }

    /**
     * @param value Model name.
     */
    @JvmName("xjotdrogbyiwctes")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Optional. Deployment model source ARM resource ID.
     */
    @JvmName("cmyyjhcahbyrmvwp")
    public suspend fun source(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.source = mapped
    }

    /**
     * @param value Model version.
     */
    @JvmName("qmjbcgbditrkvghw")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    internal fun build(): EndpointDeploymentModelArgs = EndpointDeploymentModelArgs(
        format = format,
        name = name,
        source = source,
        version = version,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy