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

com.pulumi.gcp.transcoder.kotlin.inputs.JobTemplateConfigManifestArgs.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.JobTemplateConfigManifestArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property fileName The name of the generated file. The default is `manifest`.
 * @property muxStreams List of user supplied MuxStream.key values that should appear in this manifest.
 * @property type Type of the manifest.
 * Possible values are: `MANIFEST_TYPE_UNSPECIFIED`, `HLS`, `DASH`.
 */
public data class JobTemplateConfigManifestArgs(
    public val fileName: Output? = null,
    public val muxStreams: Output>? = null,
    public val type: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.transcoder.inputs.JobTemplateConfigManifestArgs =
        com.pulumi.gcp.transcoder.inputs.JobTemplateConfigManifestArgs.builder()
            .fileName(fileName?.applyValue({ args0 -> args0 }))
            .muxStreams(muxStreams?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobTemplateConfigManifestArgs].
 */
@PulumiTagMarker
public class JobTemplateConfigManifestArgsBuilder internal constructor() {
    private var fileName: Output? = null

    private var muxStreams: Output>? = null

    private var type: Output? = null

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

    /**
     * @param value List of user supplied MuxStream.key values that should appear in this manifest.
     */
    @JvmName("rdgcyenhxggwoalf")
    public suspend fun muxStreams(`value`: Output>) {
        this.muxStreams = value
    }

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

    /**
     * @param values List of user supplied MuxStream.key values that should appear in this manifest.
     */
    @JvmName("hryhasulsrhyujbe")
    public suspend fun muxStreams(values: List>) {
        this.muxStreams = Output.all(values)
    }

    /**
     * @param value Type of the manifest.
     * Possible values are: `MANIFEST_TYPE_UNSPECIFIED`, `HLS`, `DASH`.
     */
    @JvmName("dtjwpcgyqdenxwks")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

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

    /**
     * @param value List of user supplied MuxStream.key values that should appear in this manifest.
     */
    @JvmName("vxonyejywbxsahww")
    public suspend fun muxStreams(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.muxStreams = mapped
    }

    /**
     * @param values List of user supplied MuxStream.key values that should appear in this manifest.
     */
    @JvmName("bboeicmuavduxyrb")
    public suspend fun muxStreams(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.muxStreams = mapped
    }

    /**
     * @param value Type of the manifest.
     * Possible values are: `MANIFEST_TYPE_UNSPECIFIED`, `HLS`, `DASH`.
     */
    @JvmName("sdpnodjxcbstcquu")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): JobTemplateConfigManifestArgs = JobTemplateConfigManifestArgs(
        fileName = fileName,
        muxStreams = muxStreams,
        type = type,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy