
com.pulumi.awsnative.lex.kotlin.outputs.BotSlotValueOverrideMap.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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