![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.SelectVideoTrackByIdArgs.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.media.kotlin.inputs
import com.pulumi.azurenative.media.inputs.SelectVideoTrackByIdArgs.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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Select video tracks from the input by specifying a track identifier.
* @property odataType The discriminator for derived types.
* Expected value is '#Microsoft.Media.SelectVideoTrackById'.
* @property trackId Track identifier to select
*/
public data class SelectVideoTrackByIdArgs(
public val odataType: Output,
public val trackId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.SelectVideoTrackByIdArgs =
com.pulumi.azurenative.media.inputs.SelectVideoTrackByIdArgs.builder()
.odataType(odataType.applyValue({ args0 -> args0 }))
.trackId(trackId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SelectVideoTrackByIdArgs].
*/
@PulumiTagMarker
public class SelectVideoTrackByIdArgsBuilder internal constructor() {
private var odataType: Output? = null
private var trackId: Output? = null
/**
* @param value The discriminator for derived types.
* Expected value is '#Microsoft.Media.SelectVideoTrackById'.
*/
@JvmName("orkfkkasqgsupxgk")
public suspend fun odataType(`value`: Output) {
this.odataType = value
}
/**
* @param value Track identifier to select
*/
@JvmName("nanqrbiftnytipxp")
public suspend fun trackId(`value`: Output) {
this.trackId = value
}
/**
* @param value The discriminator for derived types.
* Expected value is '#Microsoft.Media.SelectVideoTrackById'.
*/
@JvmName("xgstehwvghbxrhrl")
public suspend fun odataType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.odataType = mapped
}
/**
* @param value Track identifier to select
*/
@JvmName("kmdmkmcghyiddalx")
public suspend fun trackId(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.trackId = mapped
}
internal fun build(): SelectVideoTrackByIdArgs = SelectVideoTrackByIdArgs(
odataType = odataType ?: throw PulumiNullFieldException("odataType"),
trackId = trackId ?: throw PulumiNullFieldException("trackId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy