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

com.pulumi.aws.medialive.kotlin.inputs.ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs.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.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.medialive.kotlin.inputs

import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property bitDepth
 * @property codingMode
 * @property sampleRate Sample rate in Hz.
 */
public data class ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs(
    public val bitDepth: Output? = null,
    public val codingMode: Output? = null,
    public val sampleRate: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs =
        com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs.builder()
            .bitDepth(bitDepth?.applyValue({ args0 -> args0 }))
            .codingMode(codingMode?.applyValue({ args0 -> args0 }))
            .sampleRate(sampleRate?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs].
 */
@PulumiTagMarker
public class ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgsBuilder internal constructor() {
    private var bitDepth: Output? = null

    private var codingMode: Output? = null

    private var sampleRate: Output? = null

    /**
     * @param value
     */
    @JvmName("nmqobynmxfvdlyup")
    public suspend fun bitDepth(`value`: Output) {
        this.bitDepth = value
    }

    /**
     * @param value
     */
    @JvmName("hjincqhuctbfibsb")
    public suspend fun codingMode(`value`: Output) {
        this.codingMode = value
    }

    /**
     * @param value Sample rate in Hz.
     */
    @JvmName("vsmbhewactwmgqct")
    public suspend fun sampleRate(`value`: Output) {
        this.sampleRate = value
    }

    /**
     * @param value
     */
    @JvmName("lttrwppbtihpgfqk")
    public suspend fun bitDepth(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bitDepth = mapped
    }

    /**
     * @param value
     */
    @JvmName("olbyorwypueomkbh")
    public suspend fun codingMode(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.codingMode = mapped
    }

    /**
     * @param value Sample rate in Hz.
     */
    @JvmName("vbewohvvwcxvctlm")
    public suspend fun sampleRate(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sampleRate = mapped
    }

    internal fun build(): ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs =
        ChannelEncoderSettingsAudioDescriptionCodecSettingsWavSettingsArgs(
            bitDepth = bitDepth,
            codingMode = codingMode,
            sampleRate = sampleRate,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy