![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.LiveEventTranscriptionArgs.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.LiveEventTranscriptionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Describes the transcription tracks in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.
* @property inputTrackSelection Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.
* @property language Specifies the language (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in BCP-47 format (e.g: 'en-US'). See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature and the list of supported languages.
* @property outputTranscriptionTrack Describes a transcription track in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.
*/
public data class LiveEventTranscriptionArgs(
public val inputTrackSelection: Output>? = null,
public val language: Output? = null,
public val outputTranscriptionTrack: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.LiveEventTranscriptionArgs =
com.pulumi.azurenative.media.inputs.LiveEventTranscriptionArgs.builder()
.inputTrackSelection(
inputTrackSelection?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.language(language?.applyValue({ args0 -> args0 }))
.outputTranscriptionTrack(
outputTranscriptionTrack?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [LiveEventTranscriptionArgs].
*/
@PulumiTagMarker
public class LiveEventTranscriptionArgsBuilder internal constructor() {
private var inputTrackSelection: Output>? = null
private var language: Output? = null
private var outputTranscriptionTrack: Output? = null
/**
* @param value Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.
*/
@JvmName("kipjlgdislflkuph")
public suspend fun inputTrackSelection(`value`: Output>) {
this.inputTrackSelection = value
}
@JvmName("eemvgceyanbjylfv")
public suspend fun inputTrackSelection(vararg values: Output) {
this.inputTrackSelection = Output.all(values.asList())
}
/**
* @param values Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.
*/
@JvmName("xwygcqjjpqgdwjdi")
public suspend fun inputTrackSelection(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy