![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeSource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediaconnect.kotlin.outputs
import kotlin.Suppress
/**
* The bridge's source.
* @property flowSource The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.
* @property networkSource The source of the bridge. A network source originates at your premises.
*/
public data class BridgeSource(
public val flowSource: BridgeFlowSource? = null,
public val networkSource: BridgeNetworkSource? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediaconnect.outputs.BridgeSource): BridgeSource = BridgeSource(
flowSource = javaType.flowSource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeFlowSource.Companion.toKotlin(args0)
})
}).orElse(null),
networkSource = javaType.networkSource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediaconnect.kotlin.outputs.BridgeNetworkSource.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy