Button

class Button

Describes a button to use on a response card used to gather slot values from a user.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The text that appears on the button. Use this to tell the user what value is returned when they choose this button.

Link copied to clipboard

The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.

Functions

Link copied to clipboard
inline fun copy(block: Button.Builder.() -> Unit = {}): Button
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String