com.pulumi.aws.medialive.kotlin.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.medialive.kotlin.inputs
import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property bufferMsec UDP output buffering in milliseconds.
* @property containerSettings UDP container settings. See Container Settings for more details.
* @property destination Destination address and port number for RTP or UDP packets. See Destination for more details.
* @property fecOutputSettings
*/
public data class ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs(
public val bufferMsec: Output? = null,
public val containerSettings: Output,
public val destination: Output,
public val fecOutputSettings: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs =
com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs.builder()
.bufferMsec(bufferMsec?.applyValue({ args0 -> args0 }))
.containerSettings(containerSettings.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.destination(destination.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fecOutputSettings(
fecOutputSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs].
*/
@PulumiTagMarker
public class ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgsBuilder
internal constructor() {
private var bufferMsec: Output? = null
private var containerSettings:
Output? =
null
private var destination:
Output? =
null
private var fecOutputSettings:
Output? =
null
/**
* @param value UDP output buffering in milliseconds.
*/
@JvmName("tcclysthkjogjmqy")
public suspend fun bufferMsec(`value`: Output) {
this.bufferMsec = value
}
/**
* @param value UDP container settings. See Container Settings for more details.
*/
@JvmName("qofudlnuywewodbo")
public suspend fun containerSettings(`value`: Output) {
this.containerSettings = value
}
/**
* @param value Destination address and port number for RTP or UDP packets. See Destination for more details.
*/
@JvmName("abkjcebttmlrfipa")
public suspend fun destination(`value`: Output) {
this.destination = value
}
/**
* @param value
*/
@JvmName("tluqubebtkxsjsni")
public suspend fun fecOutputSettings(`value`: Output) {
this.fecOutputSettings = value
}
/**
* @param value UDP output buffering in milliseconds.
*/
@JvmName("kbdqckenebqlwmwe")
public suspend fun bufferMsec(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bufferMsec = mapped
}
/**
* @param value UDP container settings. See Container Settings for more details.
*/
@JvmName("mdgwlgoatlcuisoo")
public suspend fun containerSettings(`value`: ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsContainerSettingsArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.containerSettings = mapped
}
/**
* @param argument UDP container settings. See Container Settings for more details.
*/
@JvmName("vnktrxioybrdkgwm")
public suspend fun containerSettings(argument: suspend ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsContainerSettingsArgsBuilder.() -> Unit) {
val toBeMapped =
ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsContainerSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.containerSettings = mapped
}
/**
* @param value Destination address and port number for RTP or UDP packets. See Destination for more details.
*/
@JvmName("quqgdrilypihkrql")
public suspend fun destination(`value`: ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsDestinationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.destination = mapped
}
/**
* @param argument Destination address and port number for RTP or UDP packets. See Destination for more details.
*/
@JvmName("pwcnrnasrmcqrufm")
public suspend fun destination(argument: suspend ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsDestinationArgsBuilder.() -> Unit) {
val toBeMapped =
ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsDestinationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.destination = mapped
}
/**
* @param value
*/
@JvmName("tesnipadosfcxmdb")
public suspend fun fecOutputSettings(`value`: ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsFecOutputSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fecOutputSettings = mapped
}
/**
* @param argument
*/
@JvmName("pkvyqkfjjyaxhhvl")
public suspend fun fecOutputSettings(argument: suspend ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsFecOutputSettingsArgsBuilder.() -> Unit) {
val toBeMapped =
ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsFecOutputSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.fecOutputSettings = mapped
}
internal fun build(): ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs =
ChannelEncoderSettingsOutputGroupOutputOutputSettingsUdpOutputSettingsArgs(
bufferMsec = bufferMsec,
containerSettings = containerSettings ?: throw PulumiNullFieldException("containerSettings"),
destination = destination ?: throw PulumiNullFieldException("destination"),
fecOutputSettings = fecOutputSettings,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy