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

com.pulumi.azure.media.kotlin.inputs.TransformOutputCustomPresetCodecPngImageLayerArgs.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: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.inputs

import com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecPngImageLayerArgs.builder
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

/**
 *
 * @property height The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in height as the input.
 * @property label The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.
 * @property width The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in width as the input.
 */
public data class TransformOutputCustomPresetCodecPngImageLayerArgs(
    public val height: Output? = null,
    public val label: Output? = null,
    public val width: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecPngImageLayerArgs =
        com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecPngImageLayerArgs.builder()
            .height(height?.applyValue({ args0 -> args0 }))
            .label(label?.applyValue({ args0 -> args0 }))
            .width(width?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TransformOutputCustomPresetCodecPngImageLayerArgs].
 */
@PulumiTagMarker
public class TransformOutputCustomPresetCodecPngImageLayerArgsBuilder internal constructor() {
    private var height: Output? = null

    private var label: Output? = null

    private var width: Output? = null

    /**
     * @param value The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in height as the input.
     */
    @JvmName("tecffytomstniqpt")
    public suspend fun height(`value`: Output) {
        this.height = value
    }

    /**
     * @param value The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.
     */
    @JvmName("ugxibmbuvwrvuimi")
    public suspend fun label(`value`: Output) {
        this.label = value
    }

    /**
     * @param value The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in width as the input.
     */
    @JvmName("qdvffqvrtwqbbgul")
    public suspend fun width(`value`: Output) {
        this.width = value
    }

    /**
     * @param value The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in height as the input.
     */
    @JvmName("gtiupqanvfpptkac")
    public suspend fun height(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.height = mapped
    }

    /**
     * @param value The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.
     */
    @JvmName("turcnlbxoeelkcvf")
    public suspend fun label(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.label = mapped
    }

    /**
     * @param value The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example `50%` means the output video has half as many pixels in width as the input.
     */
    @JvmName("qpvusuwjcgaklfld")
    public suspend fun width(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.width = mapped
    }

    internal fun build(): TransformOutputCustomPresetCodecPngImageLayerArgs =
        TransformOutputCustomPresetCodecPngImageLayerArgs(
            height = height,
            label = label,
            width = width,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy