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

com.pulumi.awsnative.lex.kotlin.outputs.BotSlotValueOverrideMap.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lex.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A map of slot names and their overridden values.
 * @property slotName The name of the slot.
 * @property slotValueOverride The SlotValueOverride object to which the slot name will be mapped.
 */
public data class BotSlotValueOverrideMap(
    public val slotName: String? = null,
    public val slotValueOverride: BotSlotValueOverride? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotSlotValueOverrideMap): BotSlotValueOverrideMap = BotSlotValueOverrideMap(
            slotName = javaType.slotName().map({ args0 -> args0 }).orElse(null),
            slotValueOverride = javaType.slotValueOverride().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.lex.kotlin.outputs.BotSlotValueOverride.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy