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

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

/**
 *
 * @property preferredChannelPipeline Enum for preferred channel pipeline. Options are `CURRENTLY_ACTIVE`, `PIPELINE_0`, or `PIPELINE_1`.
 * @property programNumber Unique program number.
 * @property serviceDescriptor Service Descriptor. See Service Descriptor for more details.
 * @property videoSettings Video settings. See Video Settings for more details.
 */
public data class MultiplexProgramMultiplexProgramSettingsArgs(
    public val preferredChannelPipeline: Output,
    public val programNumber: Output,
    public val serviceDescriptor: Output? = null,
    public val videoSettings: Output? =
        null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.MultiplexProgramMultiplexProgramSettingsArgs =
        com.pulumi.aws.medialive.inputs.MultiplexProgramMultiplexProgramSettingsArgs.builder()
            .preferredChannelPipeline(preferredChannelPipeline.applyValue({ args0 -> args0 }))
            .programNumber(programNumber.applyValue({ args0 -> args0 }))
            .serviceDescriptor(serviceDescriptor?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .videoSettings(videoSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [MultiplexProgramMultiplexProgramSettingsArgs].
 */
@PulumiTagMarker
public class MultiplexProgramMultiplexProgramSettingsArgsBuilder internal constructor() {
    private var preferredChannelPipeline: Output? = null

    private var programNumber: Output? = null

    private var serviceDescriptor:
        Output? = null

    private var videoSettings: Output? =
        null

    /**
     * @param value Enum for preferred channel pipeline. Options are `CURRENTLY_ACTIVE`, `PIPELINE_0`, or `PIPELINE_1`.
     */
    @JvmName("lqauawrjqdtmyxjd")
    public suspend fun preferredChannelPipeline(`value`: Output) {
        this.preferredChannelPipeline = value
    }

    /**
     * @param value Unique program number.
     */
    @JvmName("atjmcjloyaysqnft")
    public suspend fun programNumber(`value`: Output) {
        this.programNumber = value
    }

    /**
     * @param value Service Descriptor. See Service Descriptor for more details.
     */
    @JvmName("ejmppqhyskcdwlvk")
    public suspend fun serviceDescriptor(`value`: Output) {
        this.serviceDescriptor = value
    }

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

    /**
     * @param value Enum for preferred channel pipeline. Options are `CURRENTLY_ACTIVE`, `PIPELINE_0`, or `PIPELINE_1`.
     */
    @JvmName("cbdkfuajmwmsyeil")
    public suspend fun preferredChannelPipeline(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.preferredChannelPipeline = mapped
    }

    /**
     * @param value Unique program number.
     */
    @JvmName("temubryyscbhqqmv")
    public suspend fun programNumber(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.programNumber = mapped
    }

    /**
     * @param value Service Descriptor. See Service Descriptor for more details.
     */
    @JvmName("jsbdkwopxunfiibk")
    public suspend fun serviceDescriptor(`value`: MultiplexProgramMultiplexProgramSettingsServiceDescriptorArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceDescriptor = mapped
    }

    /**
     * @param argument Service Descriptor. See Service Descriptor for more details.
     */
    @JvmName("aagtkqffppkktmbi")
    public suspend fun serviceDescriptor(argument: suspend MultiplexProgramMultiplexProgramSettingsServiceDescriptorArgsBuilder.() -> Unit) {
        val toBeMapped =
            MultiplexProgramMultiplexProgramSettingsServiceDescriptorArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.serviceDescriptor = mapped
    }

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

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

    internal fun build(): MultiplexProgramMultiplexProgramSettingsArgs =
        MultiplexProgramMultiplexProgramSettingsArgs(
            preferredChannelPipeline = preferredChannelPipeline ?: throw
                PulumiNullFieldException("preferredChannelPipeline"),
            programNumber = programNumber ?: throw PulumiNullFieldException("programNumber"),
            serviceDescriptor = serviceDescriptor,
            videoSettings = videoSettings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy