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

com.pulumi.gcp.transcoder.kotlin.inputs.JobTemplateConfigMuxStreamArgs.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.transcoder.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.transcoder.inputs.JobTemplateConfigMuxStreamArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property container The container format. The default is `mp4`.
 * @property elementaryStreams List of ElementaryStream.key values multiplexed in this stream.
 * @property encryptionId Identifier of the encryption configuration to use.
 * @property fileName The name of the generated file.
 * @property key A unique key for this multiplexed stream.
 * @property segmentSettings Segment settings for ts, fmp4 and vtt.
 * Structure is documented below.
 */
public data class JobTemplateConfigMuxStreamArgs(
    public val container: Output? = null,
    public val elementaryStreams: Output>? = null,
    public val encryptionId: Output? = null,
    public val fileName: Output? = null,
    public val key: Output? = null,
    public val segmentSettings: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.transcoder.inputs.JobTemplateConfigMuxStreamArgs =
        com.pulumi.gcp.transcoder.inputs.JobTemplateConfigMuxStreamArgs.builder()
            .container(container?.applyValue({ args0 -> args0 }))
            .elementaryStreams(elementaryStreams?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .encryptionId(encryptionId?.applyValue({ args0 -> args0 }))
            .fileName(fileName?.applyValue({ args0 -> args0 }))
            .key(key?.applyValue({ args0 -> args0 }))
            .segmentSettings(
                segmentSettings?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [JobTemplateConfigMuxStreamArgs].
 */
@PulumiTagMarker
public class JobTemplateConfigMuxStreamArgsBuilder internal constructor() {
    private var container: Output? = null

    private var elementaryStreams: Output>? = null

    private var encryptionId: Output? = null

    private var fileName: Output? = null

    private var key: Output? = null

    private var segmentSettings: Output? = null

    /**
     * @param value The container format. The default is `mp4`.
     */
    @JvmName("rfuhdhbdqhedwflj")
    public suspend fun container(`value`: Output) {
        this.container = value
    }

    /**
     * @param value List of ElementaryStream.key values multiplexed in this stream.
     */
    @JvmName("trnsfdsltyddjrti")
    public suspend fun elementaryStreams(`value`: Output>) {
        this.elementaryStreams = value
    }

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

    /**
     * @param values List of ElementaryStream.key values multiplexed in this stream.
     */
    @JvmName("lbhowxojqnuccivg")
    public suspend fun elementaryStreams(values: List>) {
        this.elementaryStreams = Output.all(values)
    }

    /**
     * @param value Identifier of the encryption configuration to use.
     */
    @JvmName("atsilbhlnffachff")
    public suspend fun encryptionId(`value`: Output) {
        this.encryptionId = value
    }

    /**
     * @param value The name of the generated file.
     */
    @JvmName("vllnjxrawsfmlitd")
    public suspend fun fileName(`value`: Output) {
        this.fileName = value
    }

    /**
     * @param value A unique key for this multiplexed stream.
     */
    @JvmName("aqgpbyvvkjdincno")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value Segment settings for ts, fmp4 and vtt.
     * Structure is documented below.
     */
    @JvmName("ryehcysavnmjrpkf")
    public suspend fun segmentSettings(`value`: Output) {
        this.segmentSettings = value
    }

    /**
     * @param value The container format. The default is `mp4`.
     */
    @JvmName("bkenyyoyqcprqiuu")
    public suspend fun container(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.container = mapped
    }

    /**
     * @param value List of ElementaryStream.key values multiplexed in this stream.
     */
    @JvmName("gkfbprupvduwedqb")
    public suspend fun elementaryStreams(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.elementaryStreams = mapped
    }

    /**
     * @param values List of ElementaryStream.key values multiplexed in this stream.
     */
    @JvmName("iedabyhooxdqctbx")
    public suspend fun elementaryStreams(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.elementaryStreams = mapped
    }

    /**
     * @param value Identifier of the encryption configuration to use.
     */
    @JvmName("isqcyrwqmcobkaur")
    public suspend fun encryptionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encryptionId = mapped
    }

    /**
     * @param value The name of the generated file.
     */
    @JvmName("jlgkukqkvhjvumwv")
    public suspend fun fileName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileName = mapped
    }

    /**
     * @param value A unique key for this multiplexed stream.
     */
    @JvmName("fdwsrfdqlmrvcaft")
    public suspend fun key(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.key = mapped
    }

    /**
     * @param value Segment settings for ts, fmp4 and vtt.
     * Structure is documented below.
     */
    @JvmName("chlrykhqxpyehsxn")
    public suspend fun segmentSettings(`value`: JobTemplateConfigMuxStreamSegmentSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.segmentSettings = mapped
    }

    /**
     * @param argument Segment settings for ts, fmp4 and vtt.
     * Structure is documented below.
     */
    @JvmName("kwhofibunnccehab")
    public suspend fun segmentSettings(argument: suspend JobTemplateConfigMuxStreamSegmentSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = JobTemplateConfigMuxStreamSegmentSettingsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.segmentSettings = mapped
    }

    internal fun build(): JobTemplateConfigMuxStreamArgs = JobTemplateConfigMuxStreamArgs(
        container = container,
        elementaryStreams = elementaryStreams,
        encryptionId = encryptionId,
        fileName = fileName,
        key = key,
        segmentSettings = segmentSettings,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy