
com.pulumi.awsnative.mediatailor.kotlin.outputs.GetChannelResult.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.mediatailor.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.mediatailor.kotlin.enums.ChannelPlaybackMode
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The ARN of the channel.
* @property audiences The list of audiences defined in channel.
* @property fillerSlate The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the `LINEAR` `PlaybackMode` . MediaTailor doesn't support filler slate for channels using the `LOOP` `PlaybackMode` .
* @property logConfiguration The log configuration.
* @property playbackMode The type of playback mode for this channel.
* `LINEAR` - Programs play back-to-back only once.
* `LOOP` - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.
* @property tags The tags to assign to the channel.
* @property timeShiftConfiguration The configuration for time-shifted viewing.
*/
public data class GetChannelResult(
public val arn: String? = null,
public val audiences: List? = null,
public val fillerSlate: ChannelSlateSource? = null,
public val logConfiguration: ChannelLogConfigurationForChannel? = null,
public val playbackMode: ChannelPlaybackMode? = null,
public val tags: List? = null,
public val timeShiftConfiguration: ChannelTimeShiftConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediatailor.outputs.GetChannelResult): GetChannelResult = GetChannelResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
audiences = javaType.audiences().map({ args0 -> args0 }),
fillerSlate = javaType.fillerSlate().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.outputs.ChannelSlateSource.Companion.toKotlin(args0)
})
}).orElse(null),
logConfiguration = javaType.logConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.outputs.ChannelLogConfigurationForChannel.Companion.toKotlin(args0)
})
}).orElse(null),
playbackMode = javaType.playbackMode().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.enums.ChannelPlaybackMode.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
timeShiftConfiguration = javaType.timeShiftConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.outputs.ChannelTimeShiftConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy