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

com.pulumi.azure.media.kotlin.outputs.TransformOutputCustomPresetCodecAacAudio.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 TransformOutputCustomPresetCodecAacAudio(
    public val bitrate: Int? = null,
    public val channels: Int? = null,
    public val label: String? = null,
    public val profile: String? = null,
    public val samplingRate: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.media.outputs.TransformOutputCustomPresetCodecAacAudio): TransformOutputCustomPresetCodecAacAudio = TransformOutputCustomPresetCodecAacAudio(
            bitrate = javaType.bitrate().map({ args0 -> args0 }).orElse(null),
            channels = javaType.channels().map({ args0 -> args0 }).orElse(null),
            label = javaType.label().map({ args0 -> args0 }).orElse(null),
            profile = javaType.profile().map({ args0 -> args0 }).orElse(null),
            samplingRate = javaType.samplingRate().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy