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

com.pulumi.azure.media.kotlin.inputs.TransformOutputCustomPresetCodecJpgImageLayerArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecJpgImageLayerArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
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 quality The compression quality of the JPEG output. Range is from `0` to `100` and the default is `70`.
 * @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 TransformOutputCustomPresetCodecJpgImageLayerArgs(
    public val height: Output? = null,
    public val label: Output? = null,
    public val quality: Output? = null,
    public val width: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecJpgImageLayerArgs =
        com.pulumi.azure.media.inputs.TransformOutputCustomPresetCodecJpgImageLayerArgs.builder()
            .height(height?.applyValue({ args0 -> args0 }))
            .label(label?.applyValue({ args0 -> args0 }))
            .quality(quality?.applyValue({ args0 -> args0 }))
            .width(width?.applyValue({ args0 -> args0 })).build()
}

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

    private var label: Output? = null

    private var quality: 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("rvarxloofrtwornp")
    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("xegsdhgckmknvshw")
    public suspend fun label(`value`: Output) {
        this.label = value
    }

    /**
     * @param value The compression quality of the JPEG output. Range is from `0` to `100` and the default is `70`.
     */
    @JvmName("ljrdxjjaxmobjrix")
    public suspend fun quality(`value`: Output) {
        this.quality = 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("dsrqvxwheymklhfw")
    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("ordbspgjqsesykew")
    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("xhxftnlvqcwsqjbc")
    public suspend fun label(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.label = mapped
    }

    /**
     * @param value The compression quality of the JPEG output. Range is from `0` to `100` and the default is `70`.
     */
    @JvmName("frqeejbqtyfftdmm")
    public suspend fun quality(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.quality = 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("twvwfoqmxcxfbyei")
    public suspend fun width(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.width = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy