com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowMediaStreamAttributes.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 kotlin.String
import kotlin.Suppress
/**
* Attributes that are related to the media stream.
* @property fmtp A set of parameters that define the media stream.
* @property lang The audio language, in a format that is recognized by the receiver.
*/
public data class FlowMediaStreamAttributes(
public val fmtp: FlowFmtp? = null,
public val lang: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.FlowMediaStreamAttributes): FlowMediaStreamAttributes = FlowMediaStreamAttributes(
fmtp = javaType.fmtp().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.FlowFmtp.Companion.toKotlin(args0)
})
}).orElse(null),
lang = javaType.lang().map({ args0 -> args0 }).orElse(null),
)
}
}