
com.pulumi.awsnative.medialive.kotlin.inputs.MultiplexSettingsArgs.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.inputs
import com.pulumi.awsnative.medialive.inputs.MultiplexSettingsArgs.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.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A key-value pair to associate with a resource.
* @property maximumVideoBufferDelayMilliseconds Maximum video buffer delay in milliseconds.
* @property transportStreamBitrate Transport stream bit rate.
* @property transportStreamId Transport stream ID.
* @property transportStreamReservedBitrate Transport stream reserved bit rate.
*/
public data class MultiplexSettingsArgs(
public val maximumVideoBufferDelayMilliseconds: Output? = null,
public val transportStreamBitrate: Output,
public val transportStreamId: Output,
public val transportStreamReservedBitrate: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.medialive.inputs.MultiplexSettingsArgs =
com.pulumi.awsnative.medialive.inputs.MultiplexSettingsArgs.builder()
.maximumVideoBufferDelayMilliseconds(
maximumVideoBufferDelayMilliseconds?.applyValue({ args0 ->
args0
}),
)
.transportStreamBitrate(transportStreamBitrate.applyValue({ args0 -> args0 }))
.transportStreamId(transportStreamId.applyValue({ args0 -> args0 }))
.transportStreamReservedBitrate(
transportStreamReservedBitrate?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [MultiplexSettingsArgs].
*/
@PulumiTagMarker
public class MultiplexSettingsArgsBuilder internal constructor() {
private var maximumVideoBufferDelayMilliseconds: Output? = null
private var transportStreamBitrate: Output? = null
private var transportStreamId: Output? = null
private var transportStreamReservedBitrate: Output? = null
/**
* @param value Maximum video buffer delay in milliseconds.
*/
@JvmName("jifarotxykmaasbl")
public suspend fun maximumVideoBufferDelayMilliseconds(`value`: Output) {
this.maximumVideoBufferDelayMilliseconds = value
}
/**
* @param value Transport stream bit rate.
*/
@JvmName("wsnlxewaebhdaddg")
public suspend fun transportStreamBitrate(`value`: Output) {
this.transportStreamBitrate = value
}
/**
* @param value Transport stream ID.
*/
@JvmName("dchekiwcvojmbtkf")
public suspend fun transportStreamId(`value`: Output) {
this.transportStreamId = value
}
/**
* @param value Transport stream reserved bit rate.
*/
@JvmName("ancwgoxblldsxlgc")
public suspend fun transportStreamReservedBitrate(`value`: Output) {
this.transportStreamReservedBitrate = value
}
/**
* @param value Maximum video buffer delay in milliseconds.
*/
@JvmName("fbbsqbjsbdwqpdkn")
public suspend fun maximumVideoBufferDelayMilliseconds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maximumVideoBufferDelayMilliseconds = mapped
}
/**
* @param value Transport stream bit rate.
*/
@JvmName("ufapqhykxfeypswc")
public suspend fun transportStreamBitrate(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.transportStreamBitrate = mapped
}
/**
* @param value Transport stream ID.
*/
@JvmName("oofncanbyodawmyg")
public suspend fun transportStreamId(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.transportStreamId = mapped
}
/**
* @param value Transport stream reserved bit rate.
*/
@JvmName("iqljubyrkspdgdad")
public suspend fun transportStreamReservedBitrate(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.transportStreamReservedBitrate = mapped
}
internal fun build(): MultiplexSettingsArgs = MultiplexSettingsArgs(
maximumVideoBufferDelayMilliseconds = maximumVideoBufferDelayMilliseconds,
transportStreamBitrate = transportStreamBitrate ?: throw
PulumiNullFieldException("transportStreamBitrate"),
transportStreamId = transportStreamId ?: throw PulumiNullFieldException("transportStreamId"),
transportStreamReservedBitrate = transportStreamReservedBitrate,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy