![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.media.kotlin.inputs.DeinterlaceArgs.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.media.kotlin.inputs
import com.pulumi.azurenative.media.inputs.DeinterlaceArgs.builder
import com.pulumi.azurenative.media.kotlin.enums.DeinterlaceMode
import com.pulumi.azurenative.media.kotlin.enums.DeinterlaceParity
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.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes the de-interlacing settings.
* @property mode The deinterlacing mode. Defaults to AutoPixelAdaptive.
* @property parity The field parity for de-interlacing, defaults to Auto.
*/
public data class DeinterlaceArgs(
public val mode: Output>? = null,
public val parity: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.media.inputs.DeinterlaceArgs =
com.pulumi.azurenative.media.inputs.DeinterlaceArgs.builder()
.mode(
mode?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.parity(
parity?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [DeinterlaceArgs].
*/
@PulumiTagMarker
public class DeinterlaceArgsBuilder internal constructor() {
private var mode: Output>? = null
private var parity: Output>? = null
/**
* @param value The deinterlacing mode. Defaults to AutoPixelAdaptive.
*/
@JvmName("cwbyduljtlggudqd")
public suspend fun mode(`value`: Output>) {
this.mode = value
}
/**
* @param value The field parity for de-interlacing, defaults to Auto.
*/
@JvmName("aohrsmmyehahnrut")
public suspend fun parity(`value`: Output>) {
this.parity = value
}
/**
* @param value The deinterlacing mode. Defaults to AutoPixelAdaptive.
*/
@JvmName("vspmatbxipdpecch")
public suspend fun mode(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value The deinterlacing mode. Defaults to AutoPixelAdaptive.
*/
@JvmName("aqpofvchumynokoi")
public fun mode(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value The deinterlacing mode. Defaults to AutoPixelAdaptive.
*/
@JvmName("qcmrakeppomfpjfx")
public fun mode(`value`: DeinterlaceMode) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value The field parity for de-interlacing, defaults to Auto.
*/
@JvmName("xbxhxqpuncisuljo")
public suspend fun parity(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parity = mapped
}
/**
* @param value The field parity for de-interlacing, defaults to Auto.
*/
@JvmName("prtpwtttbnleaxps")
public fun parity(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.parity = mapped
}
/**
* @param value The field parity for de-interlacing, defaults to Auto.
*/
@JvmName("tfleiljrkadqwwqy")
public fun parity(`value`: DeinterlaceParity) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.parity = mapped
}
internal fun build(): DeinterlaceArgs = DeinterlaceArgs(
mode = mode,
parity = parity,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy