Slot

class Slot

A value that Amazon Lex V2 uses to fulfill an intent.

Types

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

Properties

Link copied to clipboard
val shape: Shape?

When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

Link copied to clipboard

The constituent sub slots of a composite slot.

Link copied to clipboard
val value: Value?

The current value of the slot.

Link copied to clipboard

A list of one or more values that the user provided for the slot. For example, if a for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

Functions

Link copied to clipboard
inline fun copy(block: Slot.Builder.() -> Unit = {}): Slot
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