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

com.pulumi.aws.medialive.kotlin.inputs.MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs.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.MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs.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.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property constantBitrate Constant bitrate value.
 * @property statmuxSettings Statmux settings. See Statmux Settings for more details.
 */
public data class MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs(
    public val constantBitrate: Output? = null,
    public val statmuxSettings: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs =
        com.pulumi.aws.medialive.inputs.MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs.builder()
            .constantBitrate(constantBitrate?.applyValue({ args0 -> args0 }))
            .statmuxSettings(
                statmuxSettings?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs].
 */
@PulumiTagMarker
public class MultiplexProgramMultiplexProgramSettingsVideoSettingsArgsBuilder internal constructor() {
    private var constantBitrate: Output? = null

    private var statmuxSettings:
        Output? = null

    /**
     * @param value Constant bitrate value.
     */
    @JvmName("xidjyhpddemvvipp")
    public suspend fun constantBitrate(`value`: Output) {
        this.constantBitrate = value
    }

    /**
     * @param value Statmux settings. See Statmux Settings for more details.
     */
    @JvmName("xqcueyynutduqpuj")
    public suspend fun statmuxSettings(`value`: Output) {
        this.statmuxSettings = value
    }

    /**
     * @param value Constant bitrate value.
     */
    @JvmName("toxlevepjugdhttc")
    public suspend fun constantBitrate(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.constantBitrate = mapped
    }

    /**
     * @param value Statmux settings. See Statmux Settings for more details.
     */
    @JvmName("qtnsbjikndcahqof")
    public suspend fun statmuxSettings(`value`: MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.statmuxSettings = mapped
    }

    /**
     * @param argument Statmux settings. See Statmux Settings for more details.
     */
    @JvmName("mgrajmafumnqoqlt")
    public suspend fun statmuxSettings(argument: suspend MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            MultiplexProgramMultiplexProgramSettingsVideoSettingsStatmuxSettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.statmuxSettings = mapped
    }

    internal fun build(): MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs =
        MultiplexProgramMultiplexProgramSettingsVideoSettingsArgs(
            constantBitrate = constantBitrate,
            statmuxSettings = statmuxSettings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy