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

com.pulumi.aws.medialive.kotlin.inputs.ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs.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.ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs.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 failoverConditionSettings Failover condition type-specific settings. See Failover Condition Settings for more details.
 */
public data class ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs(
    public val failoverConditionSettings: Output? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.medialive.inputs.ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs =
        com.pulumi.aws.medialive.inputs.ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs.builder()
            .failoverConditionSettings(
                failoverConditionSettings?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs].
 */
@PulumiTagMarker
public class ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgsBuilder
internal constructor() {
    private var failoverConditionSettings:
        Output? =
        null

    /**
     * @param value Failover condition type-specific settings. See Failover Condition Settings for more details.
     */
    @JvmName("gxsbkomtmfhxjpvn")
    public suspend fun failoverConditionSettings(`value`: Output) {
        this.failoverConditionSettings = value
    }

    /**
     * @param value Failover condition type-specific settings. See Failover Condition Settings for more details.
     */
    @JvmName("xqmvonnnvxoghttk")
    public suspend fun failoverConditionSettings(`value`: ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.failoverConditionSettings = mapped
    }

    /**
     * @param argument Failover condition type-specific settings. See Failover Condition Settings for more details.
     */
    @JvmName("hcduvgxsfvgwlaea")
    public suspend fun failoverConditionSettings(argument: suspend ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsArgsBuilder.() -> Unit) {
        val toBeMapped =
            ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.failoverConditionSettings = mapped
    }

    internal fun build(): ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs =
        ChannelInputAttachmentAutomaticInputFailoverSettingsFailoverConditionArgs(
            failoverConditionSettings = failoverConditionSettings,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy