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

com.pulumi.aws.medialive.kotlin.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs.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.ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property audioGroupId
 * @property audioOnlyImage
 * @property audioTrackType
 * @property segmentType
 */
public data class
ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs(
    public val audioGroupId: Output? = null,
    public val audioOnlyImage: Output? =
        null,
    public val audioTrackType: Output? = null,
    public val segmentType: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs =
        com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs.builder()
            .audioGroupId(audioGroupId?.applyValue({ args0 -> args0 }))
            .audioOnlyImage(audioOnlyImage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .audioTrackType(audioTrackType?.applyValue({ args0 -> args0 }))
            .segmentType(segmentType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs].
 */
@PulumiTagMarker
public class
ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgsBuilder
internal constructor() {
    private var audioGroupId: Output? = null

    private var audioOnlyImage:
        Output? =
        null

    private var audioTrackType: Output? = null

    private var segmentType: Output? = null

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

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

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

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

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

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

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

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

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

    internal fun build(): ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs =
        ChannelEncoderSettingsOutputGroupOutputOutputSettingsHlsOutputSettingsHlsSettingsAudioOnlyHlsSettingsArgs(
            audioGroupId = audioGroupId,
            audioOnlyImage = audioOnlyImage,
            audioTrackType = audioTrackType,
            segmentType = segmentType,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy