com.pulumi.azure.media.kotlin.inputs.TransformOutputCustomPresetCodecAacAudioArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.media.kotlin.inputs
import com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecAacAudioArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bitrate The bitrate of the audio in bits per second. Default to `128000`.
* @property channels The number of audio channels. Default to `2`.
* @property label Specifies the label for the codec. The label can be used to control muxing behavior.
* @property profile The encoding profile to be used when encoding audio with AAC. Possible values are `AacLc`, `HeAacV1`,and `HeAacV2`. Default to `AacLc`.
* @property samplingRate The sampling rate to use for encoding in Hertz. Default to `48000`.
*/
public data class TransformOutputCustomPresetCodecAacAudioArgs(
public val bitrate: Output? = null,
public val channels: Output? = null,
public val label: Output? = null,
public val profile: Output? = null,
public val samplingRate: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecAacAudioArgs =
com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecAacAudioArgs.builder()
.bitrate(bitrate?.applyValue({ args0 -> args0 }))
.channels(channels?.applyValue({ args0 -> args0 }))
.label(label?.applyValue({ args0 -> args0 }))
.profile(profile?.applyValue({ args0 -> args0 }))
.samplingRate(samplingRate?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TransformOutputCustomPresetCodecAacAudioArgs].
*/
@PulumiTagMarker
public class TransformOutputCustomPresetCodecAacAudioArgsBuilder internal constructor() {
private var bitrate: Output? = null
private var channels: Output? = null
private var label: Output? = null
private var profile: Output? = null
private var samplingRate: Output? = null
/**
* @param value The bitrate of the audio in bits per second. Default to `128000`.
*/
@JvmName("fsudiphiuggbgpgd")
public suspend fun bitrate(`value`: Output) {
this.bitrate = value
}
/**
* @param value The number of audio channels. Default to `2`.
*/
@JvmName("piboslinfeaqwqpx")
public suspend fun channels(`value`: Output) {
this.channels = value
}
/**
* @param value Specifies the label for the codec. The label can be used to control muxing behavior.
*/
@JvmName("wxrjsjntkjwtsrvj")
public suspend fun label(`value`: Output) {
this.label = value
}
/**
* @param value The encoding profile to be used when encoding audio with AAC. Possible values are `AacLc`, `HeAacV1`,and `HeAacV2`. Default to `AacLc`.
*/
@JvmName("ieylckcyesiyetlx")
public suspend fun profile(`value`: Output) {
this.profile = value
}
/**
* @param value The sampling rate to use for encoding in Hertz. Default to `48000`.
*/
@JvmName("xsracjgyevtbysxm")
public suspend fun samplingRate(`value`: Output) {
this.samplingRate = value
}
/**
* @param value The bitrate of the audio in bits per second. Default to `128000`.
*/
@JvmName("jrmbjxkygvklnhyv")
public suspend fun bitrate(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bitrate = mapped
}
/**
* @param value The number of audio channels. Default to `2`.
*/
@JvmName("wfoynvsfumfrjwsu")
public suspend fun channels(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.channels = mapped
}
/**
* @param value Specifies the label for the codec. The label can be used to control muxing behavior.
*/
@JvmName("nexuqxltvgjeahry")
public suspend fun label(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.label = mapped
}
/**
* @param value The encoding profile to be used when encoding audio with AAC. Possible values are `AacLc`, `HeAacV1`,and `HeAacV2`. Default to `AacLc`.
*/
@JvmName("tutfegyucfxtijhi")
public suspend fun profile(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.profile = mapped
}
/**
* @param value The sampling rate to use for encoding in Hertz. Default to `48000`.
*/
@JvmName("ddnatynpuehcnged")
public suspend fun samplingRate(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.samplingRate = mapped
}
internal fun build(): TransformOutputCustomPresetCodecAacAudioArgs =
TransformOutputCustomPresetCodecAacAudioArgs(
bitrate = bitrate,
channels = channels,
label = label,
profile = profile,
samplingRate = samplingRate,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy