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

com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentClosingSettingConditional.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.lex.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property active Whether a conditional branch is active. When active is false, the conditions are not evaluated.
 * @property conditionalBranches Configuration blocks for conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. See `conditional_branch`.
 * @property defaultBranch Configuration block for the conditional branch that should be followed when the conditions for other branches are not satisfied. A branch is made up of a condition, a response and a next step. See `default_branch`.
 */
public data class V2modelsIntentClosingSettingConditional(
    public val active: Boolean,
    public val conditionalBranches: List? =
        null,
    public val defaultBranch: V2modelsIntentClosingSettingConditionalDefaultBranch,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lex.outputs.V2modelsIntentClosingSettingConditional): V2modelsIntentClosingSettingConditional = V2modelsIntentClosingSettingConditional(
            active = javaType.active(),
            conditionalBranches = javaType.conditionalBranches().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentClosingSettingConditionalConditionalBranch.Companion.toKotlin(args0)
                })
            }),
            defaultBranch = javaType.defaultBranch().let({ args0 ->
                com.pulumi.aws.lex.kotlin.outputs.V2modelsIntentClosingSettingConditionalDefaultBranch.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy