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

com.pulumi.awsnative.mediapackage.kotlin.inputs.PackagingConfigurationStreamSelectionArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediapackage.kotlin.inputs

import com.pulumi.awsnative.mediapackage.inputs.PackagingConfigurationStreamSelectionArgs.builder
import com.pulumi.awsnative.mediapackage.kotlin.enums.PackagingConfigurationStreamSelectionStreamOrder
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.Suppress
import kotlin.jvm.JvmName

/**
 * A StreamSelection configuration.
 * @property maxVideoBitsPerSecond The maximum video bitrate (bps) to include in output.
 * @property minVideoBitsPerSecond The minimum video bitrate (bps) to include in output.
 * @property streamOrder A directive that determines the order of streams in the output.
 */
public data class PackagingConfigurationStreamSelectionArgs(
    public val maxVideoBitsPerSecond: Output? = null,
    public val minVideoBitsPerSecond: Output? = null,
    public val streamOrder: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.mediapackage.inputs.PackagingConfigurationStreamSelectionArgs =
        com.pulumi.awsnative.mediapackage.inputs.PackagingConfigurationStreamSelectionArgs.builder()
            .maxVideoBitsPerSecond(maxVideoBitsPerSecond?.applyValue({ args0 -> args0 }))
            .minVideoBitsPerSecond(minVideoBitsPerSecond?.applyValue({ args0 -> args0 }))
            .streamOrder(streamOrder?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [PackagingConfigurationStreamSelectionArgs].
 */
@PulumiTagMarker
public class PackagingConfigurationStreamSelectionArgsBuilder internal constructor() {
    private var maxVideoBitsPerSecond: Output? = null

    private var minVideoBitsPerSecond: Output? = null

    private var streamOrder: Output? = null

    /**
     * @param value The maximum video bitrate (bps) to include in output.
     */
    @JvmName("bblovubsflheopay")
    public suspend fun maxVideoBitsPerSecond(`value`: Output) {
        this.maxVideoBitsPerSecond = value
    }

    /**
     * @param value The minimum video bitrate (bps) to include in output.
     */
    @JvmName("tvgekldkpaeeacxd")
    public suspend fun minVideoBitsPerSecond(`value`: Output) {
        this.minVideoBitsPerSecond = value
    }

    /**
     * @param value A directive that determines the order of streams in the output.
     */
    @JvmName("ceidkaicbmdpqcjh")
    public suspend fun streamOrder(`value`: Output) {
        this.streamOrder = value
    }

    /**
     * @param value The maximum video bitrate (bps) to include in output.
     */
    @JvmName("rejpblpbqcictopn")
    public suspend fun maxVideoBitsPerSecond(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxVideoBitsPerSecond = mapped
    }

    /**
     * @param value The minimum video bitrate (bps) to include in output.
     */
    @JvmName("itrrnbtldogomvmr")
    public suspend fun minVideoBitsPerSecond(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minVideoBitsPerSecond = mapped
    }

    /**
     * @param value A directive that determines the order of streams in the output.
     */
    @JvmName("uwlfjngxtttwvauf")
    public suspend fun streamOrder(`value`: PackagingConfigurationStreamSelectionStreamOrder?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.streamOrder = mapped
    }

    internal fun build(): PackagingConfigurationStreamSelectionArgs =
        PackagingConfigurationStreamSelectionArgs(
            maxVideoBitsPerSecond = maxVideoBitsPerSecond,
            minVideoBitsPerSecond = minVideoBitsPerSecond,
            streamOrder = streamOrder,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy