All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.medialive.kotlin.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.medialive.kotlin.inputs

import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property adMarkers The ad marker type for this output group.
 * @property authenticationScheme Authentication scheme to use when connecting with CDN.
 * @property cacheFullBehavior Controls behavior when content cache fills up.
 * @property cacheLength Cache length in seconds, is used to calculate buffer size.
 * @property captionData Controls the types of data that passes to onCaptionInfo outputs.
 * @property inputLossAction Controls the behavior of the RTMP group if input becomes unavailable.
 * @property restartDelay Number of seconds to wait until a restart is initiated.
 */
public data class ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs(
    public val adMarkers: Output>? = null,
    public val authenticationScheme: Output? = null,
    public val cacheFullBehavior: Output? = null,
    public val cacheLength: Output? = null,
    public val captionData: Output? = null,
    public val inputLossAction: Output? = null,
    public val restartDelay: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs =
        com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs.builder()
            .adMarkers(adMarkers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .authenticationScheme(authenticationScheme?.applyValue({ args0 -> args0 }))
            .cacheFullBehavior(cacheFullBehavior?.applyValue({ args0 -> args0 }))
            .cacheLength(cacheLength?.applyValue({ args0 -> args0 }))
            .captionData(captionData?.applyValue({ args0 -> args0 }))
            .inputLossAction(inputLossAction?.applyValue({ args0 -> args0 }))
            .restartDelay(restartDelay?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs].
 */
@PulumiTagMarker
public class ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgsBuilder
internal constructor() {
    private var adMarkers: Output>? = null

    private var authenticationScheme: Output? = null

    private var cacheFullBehavior: Output? = null

    private var cacheLength: Output? = null

    private var captionData: Output? = null

    private var inputLossAction: Output? = null

    private var restartDelay: Output? = null

    /**
     * @param value The ad marker type for this output group.
     */
    @JvmName("smlrwhvedmdxrela")
    public suspend fun adMarkers(`value`: Output>) {
        this.adMarkers = value
    }

    @JvmName("emlwkvrcgtsqakqu")
    public suspend fun adMarkers(vararg values: Output) {
        this.adMarkers = Output.all(values.asList())
    }

    /**
     * @param values The ad marker type for this output group.
     */
    @JvmName("sbrrqktelamyfmmr")
    public suspend fun adMarkers(values: List>) {
        this.adMarkers = Output.all(values)
    }

    /**
     * @param value Authentication scheme to use when connecting with CDN.
     */
    @JvmName("nfehmaborpkjhefl")
    public suspend fun authenticationScheme(`value`: Output) {
        this.authenticationScheme = value
    }

    /**
     * @param value Controls behavior when content cache fills up.
     */
    @JvmName("wcuglqpgfdmvfhnw")
    public suspend fun cacheFullBehavior(`value`: Output) {
        this.cacheFullBehavior = value
    }

    /**
     * @param value Cache length in seconds, is used to calculate buffer size.
     */
    @JvmName("jpjtdhaibctychgf")
    public suspend fun cacheLength(`value`: Output) {
        this.cacheLength = value
    }

    /**
     * @param value Controls the types of data that passes to onCaptionInfo outputs.
     */
    @JvmName("eaudtxqgfkcsueff")
    public suspend fun captionData(`value`: Output) {
        this.captionData = value
    }

    /**
     * @param value Controls the behavior of the RTMP group if input becomes unavailable.
     */
    @JvmName("nxamaesnhevlcxod")
    public suspend fun inputLossAction(`value`: Output) {
        this.inputLossAction = value
    }

    /**
     * @param value Number of seconds to wait until a restart is initiated.
     */
    @JvmName("qduskajidlojnjax")
    public suspend fun restartDelay(`value`: Output) {
        this.restartDelay = value
    }

    /**
     * @param value The ad marker type for this output group.
     */
    @JvmName("afqsvokkmmpqgqaj")
    public suspend fun adMarkers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.adMarkers = mapped
    }

    /**
     * @param values The ad marker type for this output group.
     */
    @JvmName("tcsbpchbbrthqflv")
    public suspend fun adMarkers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.adMarkers = mapped
    }

    /**
     * @param value Authentication scheme to use when connecting with CDN.
     */
    @JvmName("gcxwquykvnohqxep")
    public suspend fun authenticationScheme(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authenticationScheme = mapped
    }

    /**
     * @param value Controls behavior when content cache fills up.
     */
    @JvmName("afqqpxnoxumgsovm")
    public suspend fun cacheFullBehavior(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cacheFullBehavior = mapped
    }

    /**
     * @param value Cache length in seconds, is used to calculate buffer size.
     */
    @JvmName("gsdbrsdotqjovrkc")
    public suspend fun cacheLength(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cacheLength = mapped
    }

    /**
     * @param value Controls the types of data that passes to onCaptionInfo outputs.
     */
    @JvmName("cdiijknbbpuofbhb")
    public suspend fun captionData(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.captionData = mapped
    }

    /**
     * @param value Controls the behavior of the RTMP group if input becomes unavailable.
     */
    @JvmName("udcmenslbfgwkyyd")
    public suspend fun inputLossAction(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.inputLossAction = mapped
    }

    /**
     * @param value Number of seconds to wait until a restart is initiated.
     */
    @JvmName("yspuqyyfyonpmqcr")
    public suspend fun restartDelay(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.restartDelay = mapped
    }

    internal fun build(): ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs =
        ChannelEncoderSettingsOutputGroupOutputGroupSettingsRtmpGroupSettingsArgs(
            adMarkers = adMarkers,
            authenticationScheme = authenticationScheme,
            cacheFullBehavior = cacheFullBehavior,
            cacheLength = cacheLength,
            captionData = captionData,
            inputLossAction = inputLossAction,
            restartDelay = restartDelay,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy