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

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

package com.pulumi.awsnative.mediapackage.kotlin.outputs

import com.pulumi.awsnative.mediapackage.kotlin.enums.OriginEndpointStreamSelectionStreamOrder
import kotlin.Int
import kotlin.Suppress

/**
 * 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 OriginEndpointStreamSelection(
    public val maxVideoBitsPerSecond: Int? = null,
    public val minVideoBitsPerSecond: Int? = null,
    public val streamOrder: OriginEndpointStreamSelectionStreamOrder? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.outputs.OriginEndpointStreamSelection): OriginEndpointStreamSelection = OriginEndpointStreamSelection(
            maxVideoBitsPerSecond = javaType.maxVideoBitsPerSecond().map({ args0 -> args0 }).orElse(null),
            minVideoBitsPerSecond = javaType.minVideoBitsPerSecond().map({ args0 -> args0 }).orElse(null),
            streamOrder = javaType.streamOrder().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediapackage.kotlin.enums.OriginEndpointStreamSelectionStreamOrder.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy