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

com.pulumi.azure.media.kotlin.outputs.TransformOutputAudioAnalyzerPreset.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property audioAnalysisMode Possible values are `Basic` or `Standard`. Determines the set of audio analysis operations to be performed. Default to `Standard`.
 * @property audioLanguage The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that you specify it. The language must be specified explicitly for AudioAnalysisMode:Basic, since automatic language detection is not included in basic mode. If the language isn't specified, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernible speech. If automatic detection fails to find the language, transcription would fall back to `en-US`. The list of supported languages is available here: .
 * @property experimentalOptions Dictionary containing key value pairs for parameters not exposed in the preset itself.
 */
public data class TransformOutputAudioAnalyzerPreset(
    public val audioAnalysisMode: String? = null,
    public val audioLanguage: String? = null,
    public val experimentalOptions: Map? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.media.outputs.TransformOutputAudioAnalyzerPreset):
            TransformOutputAudioAnalyzerPreset = TransformOutputAudioAnalyzerPreset(
            audioAnalysisMode = javaType.audioAnalysisMode().map({ args0 -> args0 }).orElse(null),
            audioLanguage = javaType.audioLanguage().map({ args0 -> args0 }).orElse(null),
            experimentalOptions = javaType.experimentalOptions().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy