![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.TritonModelJobOutputArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.TritonModelJobOutputArgs.builder
import com.pulumi.azurenative.machinelearningservices.kotlin.enums.OutputDeliveryMode
import com.pulumi.core.Either
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
/**
*
* @property description Description for the output.
* @property jobOutputType Enum to determine the Job Output Type.
* Expected value is 'triton_model'.
* @property mode Output Asset Delivery Mode.
* @property uri Output Asset URI.
*/
public data class TritonModelJobOutputArgs(
public val description: Output? = null,
public val jobOutputType: Output,
public val mode: Output>? = null,
public val uri: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.TritonModelJobOutputArgs =
com.pulumi.azurenative.machinelearningservices.inputs.TritonModelJobOutputArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.jobOutputType(jobOutputType.applyValue({ args0 -> args0 }))
.mode(
mode?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.uri(uri?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TritonModelJobOutputArgs].
*/
@PulumiTagMarker
public class TritonModelJobOutputArgsBuilder internal constructor() {
private var description: Output? = null
private var jobOutputType: Output? = null
private var mode: Output>? = null
private var uri: Output? = null
/**
* @param value Description for the output.
*/
@JvmName("xjqkfqeeprosksby")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Enum to determine the Job Output Type.
* Expected value is 'triton_model'.
*/
@JvmName("gluvyjfigimmykqe")
public suspend fun jobOutputType(`value`: Output) {
this.jobOutputType = value
}
/**
* @param value Output Asset Delivery Mode.
*/
@JvmName("ajnjvmrlhcnskvux")
public suspend fun mode(`value`: Output>) {
this.mode = value
}
/**
* @param value Output Asset URI.
*/
@JvmName("kmitigdxnoqcawal")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value Description for the output.
*/
@JvmName("cbmjyvweukyhmahq")
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 Output Type.
* Expected value is 'triton_model'.
*/
@JvmName("hsmbwltwjhbgsgyd")
public suspend fun jobOutputType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.jobOutputType = mapped
}
/**
* @param value Output Asset Delivery Mode.
*/
@JvmName("guqbsjhreyffrsts")
public suspend fun mode(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value Output Asset Delivery Mode.
*/
@JvmName("tjasvrduapsjxytp")
public fun mode(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value Output Asset Delivery Mode.
*/
@JvmName("wlocimhdmyxmuler")
public fun mode(`value`: OutputDeliveryMode) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value Output Asset URI.
*/
@JvmName("wxppdlpuhygyqgfh")
public suspend fun uri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uri = mapped
}
internal fun build(): TritonModelJobOutputArgs = TritonModelJobOutputArgs(
description = description,
jobOutputType = jobOutputType ?: throw PulumiNullFieldException("jobOutputType"),
mode = mode,
uri = uri,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy