com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowFmtp.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.mediaconnect.kotlin.outputs
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpColorimetry
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpRange
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpScanMode
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpTcs
import kotlin.String
import kotlin.Suppress
/**
* A set of parameters that define the media stream.
* @property channelOrder The format of the audio channel.
* @property colorimetry The format used for the representation of color.
* @property exactFramerate The frame rate for the video stream, in frames/second. For example: 60000/1001.
* @property par The pixel aspect ratio (PAR) of the video.
* @property range The encoding range of the video.
* @property scanMode The type of compression that was used to smooth the video's appearance.
* @property tcs The transfer characteristic system (TCS) that is used in the video.
*/
public data class FlowFmtp(
public val channelOrder: String? = null,
public val colorimetry: FlowFmtpColorimetry? = null,
public val exactFramerate: String? = null,
public val par: String? = null,
public val range: FlowFmtpRange? = null,
public val scanMode: FlowFmtpScanMode? = null,
public val tcs: FlowFmtpTcs? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.FlowFmtp): FlowFmtp =
FlowFmtp(
channelOrder = javaType.channelOrder().map({ args0 -> args0 }).orElse(null),
colorimetry = javaType.colorimetry().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpColorimetry.Companion.toKotlin(args0)
})
}).orElse(null),
exactFramerate = javaType.exactFramerate().map({ args0 -> args0 }).orElse(null),
par = javaType.par().map({ args0 -> args0 }).orElse(null),
range = javaType.range().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpRange.Companion.toKotlin(args0)
})
}).orElse(null),
scanMode = javaType.scanMode().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpScanMode.Companion.toKotlin(args0)
})
}).orElse(null),
tcs = javaType.tcs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowFmtpTcs.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}