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

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

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

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

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

/**
 *
 * @property presetConfiguration A `preset_configuration` block as defined below.
 * @property presetName The built-in preset to be used for encoding videos. The Possible values are `AACGoodQualityAudio`, `AdaptiveStreaming`, `ContentAwareEncoding`, `ContentAwareEncodingExperimental`, `CopyAllBitrateNonInterleaved`, `DDGoodQualityAudio`, `H265AdaptiveStreaming`, `H265ContentAwareEncoding`, `H265SingleBitrate4K`, `H265SingleBitrate1080p`, `H265SingleBitrate720p`, `H264MultipleBitrate1080p`, `H264MultipleBitrateSD`, `H264MultipleBitrate720p`, `H264SingleBitrate1080p`, `H264SingleBitrateSD` and `H264SingleBitrate720p`.
 */
public data class TransformOutputBuiltinPresetArgs(
    public val presetConfiguration: Output? =
        null,
    public val presetName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.media.inputs.TransformOutputBuiltinPresetArgs =
        com.pulumi.azure.media.inputs.TransformOutputBuiltinPresetArgs.builder()
            .presetConfiguration(
                presetConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .presetName(presetName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TransformOutputBuiltinPresetArgs].
 */
@PulumiTagMarker
public class TransformOutputBuiltinPresetArgsBuilder internal constructor() {
    private var presetConfiguration: Output? =
        null

    private var presetName: Output? = null

    /**
     * @param value A `preset_configuration` block as defined below.
     */
    @JvmName("dbyxbacoasaewfpi")
    public suspend fun presetConfiguration(`value`: Output) {
        this.presetConfiguration = value
    }

    /**
     * @param value The built-in preset to be used for encoding videos. The Possible values are `AACGoodQualityAudio`, `AdaptiveStreaming`, `ContentAwareEncoding`, `ContentAwareEncodingExperimental`, `CopyAllBitrateNonInterleaved`, `DDGoodQualityAudio`, `H265AdaptiveStreaming`, `H265ContentAwareEncoding`, `H265SingleBitrate4K`, `H265SingleBitrate1080p`, `H265SingleBitrate720p`, `H264MultipleBitrate1080p`, `H264MultipleBitrateSD`, `H264MultipleBitrate720p`, `H264SingleBitrate1080p`, `H264SingleBitrateSD` and `H264SingleBitrate720p`.
     */
    @JvmName("ecwrntokocneltan")
    public suspend fun presetName(`value`: Output) {
        this.presetName = value
    }

    /**
     * @param value A `preset_configuration` block as defined below.
     */
    @JvmName("bbeeiqdxgubojcmb")
    public suspend fun presetConfiguration(`value`: TransformOutputBuiltinPresetPresetConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.presetConfiguration = mapped
    }

    /**
     * @param argument A `preset_configuration` block as defined below.
     */
    @JvmName("wouvmymucbatyrln")
    public suspend fun presetConfiguration(argument: suspend TransformOutputBuiltinPresetPresetConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TransformOutputBuiltinPresetPresetConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.presetConfiguration = mapped
    }

    /**
     * @param value The built-in preset to be used for encoding videos. The Possible values are `AACGoodQualityAudio`, `AdaptiveStreaming`, `ContentAwareEncoding`, `ContentAwareEncodingExperimental`, `CopyAllBitrateNonInterleaved`, `DDGoodQualityAudio`, `H265AdaptiveStreaming`, `H265ContentAwareEncoding`, `H265SingleBitrate4K`, `H265SingleBitrate1080p`, `H265SingleBitrate720p`, `H264MultipleBitrate1080p`, `H264MultipleBitrateSD`, `H264MultipleBitrate720p`, `H264SingleBitrate1080p`, `H264SingleBitrateSD` and `H264SingleBitrate720p`.
     */
    @JvmName("corpqjqdsvwefldm")
    public suspend fun presetName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.presetName = mapped
    }

    internal fun build(): TransformOutputBuiltinPresetArgs = TransformOutputBuiltinPresetArgs(
        presetConfiguration = presetConfiguration,
        presetName = presetName ?: throw PulumiNullFieldException("presetName"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy