com.pulumi.awsnative.mediatailor.kotlin.inputs.PlaybackConfigurationAvailSuppressionArgs.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.inputs
import com.pulumi.awsnative.mediatailor.inputs.PlaybackConfigurationAvailSuppressionArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.enums.PlaybackConfigurationAvailSuppressionFillPolicy
import com.pulumi.awsnative.mediatailor.kotlin.enums.PlaybackConfigurationAvailSuppressionMode
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html).
* @property fillPolicy Defines the policy to apply to the avail suppression mode. BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break. Valid values are FULL_AVAIL_ONLY and PARTIAL_AVAIL
* @property mode Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to AFTER_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.
* @property value A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.
*/
public data class PlaybackConfigurationAvailSuppressionArgs(
public val fillPolicy: Output? = null,
public val mode: Output? = null,
public val `value`: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.PlaybackConfigurationAvailSuppressionArgs =
com.pulumi.awsnative.mediatailor.inputs.PlaybackConfigurationAvailSuppressionArgs.builder()
.fillPolicy(fillPolicy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.mode(mode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PlaybackConfigurationAvailSuppressionArgs].
*/
@PulumiTagMarker
public class PlaybackConfigurationAvailSuppressionArgsBuilder internal constructor() {
private var fillPolicy: Output? = null
private var mode: Output? = null
private var `value`: Output? = null
/**
* @param value Defines the policy to apply to the avail suppression mode. BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break. Valid values are FULL_AVAIL_ONLY and PARTIAL_AVAIL
*/
@JvmName("dqikhtmidbqbnilr")
public suspend fun fillPolicy(`value`: Output) {
this.fillPolicy = value
}
/**
* @param value Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to AFTER_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.
*/
@JvmName("qghkbdlojrikwrpn")
public suspend fun mode(`value`: Output) {
this.mode = value
}
/**
* @param value A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.
*/
@JvmName("sgeivkdxhknrwvfv")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Defines the policy to apply to the avail suppression mode. BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break. Valid values are FULL_AVAIL_ONLY and PARTIAL_AVAIL
*/
@JvmName("jqpbghgttslnfdgf")
public suspend fun fillPolicy(`value`: PlaybackConfigurationAvailSuppressionFillPolicy?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fillPolicy = mapped
}
/**
* @param value Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to AFTER_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.
*/
@JvmName("alcqrpsrefsywinu")
public suspend fun mode(`value`: PlaybackConfigurationAvailSuppressionMode?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.
*/
@JvmName("fpwjuhufdqgbxmaq")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): PlaybackConfigurationAvailSuppressionArgs =
PlaybackConfigurationAvailSuppressionArgs(
fillPolicy = fillPolicy,
mode = mode,
`value` = `value`,
)
}