com.pulumi.awsnative.lex.kotlin.outputs.BotButton.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 button to use on a response card used to gather slot values from a user.
* @property text The text that appears on the button.
* @property value The value returned to Amazon Lex when the user chooses this button.
*/
public data class BotButton(
public val text: String,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lex.outputs.BotButton): BotButton =
BotButton(
text = javaType.text(),
`value` = javaType.`value`(),
)
}
}