com.pulumi.awsnative.medialive.kotlin.outputs.GetMultiplexprogramResult.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.medialive.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property channelId The MediaLive channel associated with the program.
* @property multiplexProgramSettings The settings for this multiplex program.
* @property packetIdentifiersMap The packet identifier map for this multiplex program.
* @property pipelineDetails Contains information about the current sources for the specified program in the specified multiplex. Keep in mind that each multiplex pipeline connects to both pipelines in a given source channel (the channel identified by the program). But only one of those channel pipelines is ever active at one time.
*/
public data class GetMultiplexprogramResult(
public val channelId: String? = null,
public val multiplexProgramSettings: MultiplexprogramMultiplexProgramSettings? = null,
public val packetIdentifiersMap: MultiplexprogramMultiplexProgramPacketIdentifiersMap? = null,
public val pipelineDetails: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.medialive.outputs.GetMultiplexprogramResult): GetMultiplexprogramResult = GetMultiplexprogramResult(
channelId = javaType.channelId().map({ args0 -> args0 }).orElse(null),
multiplexProgramSettings = javaType.multiplexProgramSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.medialive.kotlin.outputs.MultiplexprogramMultiplexProgramSettings.Companion.toKotlin(args0)
})
}).orElse(null),
packetIdentifiersMap = javaType.packetIdentifiersMap().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.medialive.kotlin.outputs.MultiplexprogramMultiplexProgramPacketIdentifiersMap.Companion.toKotlin(args0)
})
}).orElse(null),
pipelineDetails = javaType.pipelineDetails().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.medialive.kotlin.outputs.MultiplexprogramMultiplexProgramPipelineDetail.Companion.toKotlin(args0)
})
}),
)
}
}