com.pulumi.awsnative.mediapackage.kotlin.outputs.OriginEndpointStreamSelection.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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),
)
}
}