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

com.pulumi.aws.medialive.kotlin.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs.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.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.medialive.kotlin.inputs

import com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property frameCaptureSettings Frame capture settings. See Frame Capture Settings for more details.
 * @property h264Settings H264 settings. See H264 Settings for more details.
 * @property h265Settings
 */
public data class ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs(
    public val frameCaptureSettings: Output? = null,
    public val h264Settings: Output? = null,
    public val h265Settings: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs =
        com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs.builder()
            .frameCaptureSettings(
                frameCaptureSettings?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .h264Settings(h264Settings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .h265Settings(h265Settings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs].
 */
@PulumiTagMarker
public class ChannelEncoderSettingsVideoDescriptionCodecSettingsArgsBuilder internal constructor() {
    private var frameCaptureSettings:
        Output? = null

    private var h264Settings:
        Output? = null

    private var h265Settings:
        Output? = null

    /**
     * @param value Frame capture settings. See Frame Capture Settings for more details.
     */
    @JvmName("nbectpykdwnwhpli")
    public suspend fun frameCaptureSettings(`value`: Output) {
        this.frameCaptureSettings = value
    }

    /**
     * @param value H264 settings. See H264 Settings for more details.
     */
    @JvmName("rkrbehdgwhrvbewb")
    public suspend fun h264Settings(`value`: Output) {
        this.h264Settings = value
    }

    /**
     * @param value
     */
    @JvmName("etaehbfohyydfnwx")
    public suspend fun h265Settings(`value`: Output) {
        this.h265Settings = value
    }

    /**
     * @param value Frame capture settings. See Frame Capture Settings for more details.
     */
    @JvmName("ycmjcwyoddckcimh")
    public suspend fun frameCaptureSettings(`value`: ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.frameCaptureSettings = mapped
    }

    /**
     * @param argument Frame capture settings. See Frame Capture Settings for more details.
     */
    @JvmName("luagmyjahyrjdfug")
    public suspend fun frameCaptureSettings(argument: suspend ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            ChannelEncoderSettingsVideoDescriptionCodecSettingsFrameCaptureSettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.frameCaptureSettings = mapped
    }

    /**
     * @param value H264 settings. See H264 Settings for more details.
     */
    @JvmName("gpqluftoymoybbay")
    public suspend fun h264Settings(`value`: ChannelEncoderSettingsVideoDescriptionCodecSettingsH264SettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.h264Settings = mapped
    }

    /**
     * @param argument H264 settings. See H264 Settings for more details.
     */
    @JvmName("mdxylawtjvmectvh")
    public suspend fun h264Settings(argument: suspend ChannelEncoderSettingsVideoDescriptionCodecSettingsH264SettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            ChannelEncoderSettingsVideoDescriptionCodecSettingsH264SettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.h264Settings = mapped
    }

    /**
     * @param value
     */
    @JvmName("bnxxhwnljvvhngyk")
    public suspend fun h265Settings(`value`: ChannelEncoderSettingsVideoDescriptionCodecSettingsH265SettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.h265Settings = mapped
    }

    /**
     * @param argument
     */
    @JvmName("wlvsvjvpqjjthlal")
    public suspend fun h265Settings(argument: suspend ChannelEncoderSettingsVideoDescriptionCodecSettingsH265SettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            ChannelEncoderSettingsVideoDescriptionCodecSettingsH265SettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.h265Settings = mapped
    }

    internal fun build(): ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs =
        ChannelEncoderSettingsVideoDescriptionCodecSettingsArgs(
            frameCaptureSettings = frameCaptureSettings,
            h264Settings = h264Settings,
            h265Settings = h265Settings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy