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

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

@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`(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy