com.pulumi.awsnative.mediatailor.kotlin.inputs.ChannelTimeShiftConfigurationArgs.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.ChannelTimeShiftConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The configuration for time-shifted viewing.
* @property maxTimeDelaySeconds The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).
*/
public data class ChannelTimeShiftConfigurationArgs(
public val maxTimeDelaySeconds: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.ChannelTimeShiftConfigurationArgs =
com.pulumi.awsnative.mediatailor.inputs.ChannelTimeShiftConfigurationArgs.builder()
.maxTimeDelaySeconds(maxTimeDelaySeconds.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ChannelTimeShiftConfigurationArgs].
*/
@PulumiTagMarker
public class ChannelTimeShiftConfigurationArgsBuilder internal constructor() {
private var maxTimeDelaySeconds: Output? = null
/**
* @param value The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).
*/
@JvmName("yjyriqgopihukiqe")
public suspend fun maxTimeDelaySeconds(`value`: Output) {
this.maxTimeDelaySeconds = value
}
/**
* @param value The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).
*/
@JvmName("xqscerfoupekkbfh")
public suspend fun maxTimeDelaySeconds(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.maxTimeDelaySeconds = mapped
}
internal fun build(): ChannelTimeShiftConfigurationArgs = ChannelTimeShiftConfigurationArgs(
maxTimeDelaySeconds = maxTimeDelaySeconds ?: throw PulumiNullFieldException("maxTimeDelaySeconds"),
)
}