![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.videoanalyzer.kotlin.inputs.EncoderProcessorArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.videoanalyzer.kotlin.inputs
import com.pulumi.azurenative.videoanalyzer.inputs.EncoderProcessorArgs.builder
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
* Encoder processor allows for encoding of the input content. For example, it can used to change the resolution from 4K to 1280x720.
* @property inputs An array of upstream node references within the topology to be used as inputs for this node.
* @property name Node name. Must be unique within the topology.
* @property preset The encoder preset, which defines the recipe or instructions on how the input content should be processed.
* @property type The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.EncoderProcessor'.
*/
public data class EncoderProcessorArgs(
public val inputs: Output>,
public val name: Output,
public val preset: Output>,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.videoanalyzer.inputs.EncoderProcessorArgs =
com.pulumi.azurenative.videoanalyzer.inputs.EncoderProcessorArgs.builder()
.inputs(inputs.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.name(name.applyValue({ args0 -> args0 }))
.preset(
preset.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EncoderProcessorArgs].
*/
@PulumiTagMarker
public class EncoderProcessorArgsBuilder internal constructor() {
private var inputs: Output>? = null
private var name: Output? = null
private var preset: Output>? = null
private var type: Output? = null
/**
* @param value An array of upstream node references within the topology to be used as inputs for this node.
*/
@JvmName("qcfyapsvithkfmyk")
public suspend fun inputs(`value`: Output>) {
this.inputs = value
}
@JvmName("imnsrymxggrbgnjo")
public suspend fun inputs(vararg values: Output) {
this.inputs = Output.all(values.asList())
}
/**
* @param values An array of upstream node references within the topology to be used as inputs for this node.
*/
@JvmName("vellmuscdpxqrdsk")
public suspend fun inputs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy