com.pulumi.gcp.transcoder.kotlin.inputs.JobTemplateConfigElementaryStreamArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.transcoder.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.transcoder.inputs.JobTemplateConfigElementaryStreamArgs.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.jvm.JvmName
/**
*
* @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 JobTemplateConfigElementaryStreamArgs(
public val audioStream: Output? = null,
public val key: Output? = null,
public val videoStream: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.transcoder.inputs.JobTemplateConfigElementaryStreamArgs =
com.pulumi.gcp.transcoder.inputs.JobTemplateConfigElementaryStreamArgs.builder()
.audioStream(audioStream?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.key(key?.applyValue({ args0 -> args0 }))
.videoStream(videoStream?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [JobTemplateConfigElementaryStreamArgs].
*/
@PulumiTagMarker
public class JobTemplateConfigElementaryStreamArgsBuilder internal constructor() {
private var audioStream: Output? = null
private var key: Output? = null
private var videoStream: Output? = null
/**
* @param value Encoding of an audio stream.
* Structure is documented below.
*/
@JvmName("brusgaghqeccesnj")
public suspend fun audioStream(`value`: Output) {
this.audioStream = value
}
/**
* @param value A unique key for this atom.
*/
@JvmName("twjlvokocawhnwgn")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Encoding of a video stream.
* Structure is documented below.
*/
@JvmName("iviuitkfpqapunro")
public suspend fun videoStream(`value`: Output) {
this.videoStream = value
}
/**
* @param value Encoding of an audio stream.
* Structure is documented below.
*/
@JvmName("isexrprvgmrsqwsl")
public suspend fun audioStream(`value`: JobTemplateConfigElementaryStreamAudioStreamArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.audioStream = mapped
}
/**
* @param argument Encoding of an audio stream.
* Structure is documented below.
*/
@JvmName("ehkwbcmgdphucmuu")
public suspend fun audioStream(argument: suspend JobTemplateConfigElementaryStreamAudioStreamArgsBuilder.() -> Unit) {
val toBeMapped = JobTemplateConfigElementaryStreamAudioStreamArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.audioStream = mapped
}
/**
* @param value A unique key for this atom.
*/
@JvmName("kuimerunullkpuiq")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value Encoding of a video stream.
* Structure is documented below.
*/
@JvmName("xpcomxjppmkbeost")
public suspend fun videoStream(`value`: JobTemplateConfigElementaryStreamVideoStreamArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.videoStream = mapped
}
/**
* @param argument Encoding of a video stream.
* Structure is documented below.
*/
@JvmName("sqoranhdpwguigwb")
public suspend fun videoStream(argument: suspend JobTemplateConfigElementaryStreamVideoStreamArgsBuilder.() -> Unit) {
val toBeMapped = JobTemplateConfigElementaryStreamVideoStreamArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.videoStream = mapped
}
internal fun build(): JobTemplateConfigElementaryStreamArgs =
JobTemplateConfigElementaryStreamArgs(
audioStream = audioStream,
key = key,
videoStream = videoStream,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy