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

com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigElementaryStream.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.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property audioStream Encoding of an audio stream.
 * Structure is documented below.
 * @property key A unique key for this atom.
 * @property videoStream Encoding of a video stream.
 * Structure is documented below.
 */
public data class JobTemplateConfigElementaryStream(
    public val audioStream: JobTemplateConfigElementaryStreamAudioStream? = null,
    public val key: String? = null,
    public val videoStream: JobTemplateConfigElementaryStreamVideoStream? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.transcoder.outputs.JobTemplateConfigElementaryStream): JobTemplateConfigElementaryStream = JobTemplateConfigElementaryStream(
            audioStream = javaType.audioStream().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigElementaryStreamAudioStream.Companion.toKotlin(args0)
                })
            }).orElse(null),
            key = javaType.key().map({ args0 -> args0 }).orElse(null),
            videoStream = javaType.videoStream().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigElementaryStreamVideoStream.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy