BotSlotValueOverrideArgs

data class BotSlotValueOverrideArgs(val shape: Output<BotSlotShape>? = null, val value: Output<BotSlotValueArgs>? = null, val values: Output<List<BotSlotValueOverrideArgs>>? = null) : ConvertibleToJava<BotSlotValueOverrideArgs>

The slot values that Amazon Lex uses when it sets slot values in a dialog step.

Constructors

Link copied to clipboard
constructor(shape: Output<BotSlotShape>? = null, value: Output<BotSlotValueArgs>? = null, values: Output<List<BotSlotValueOverrideArgs>>? = null)

Properties

Link copied to clipboard
val shape: Output<BotSlotShape>? = null

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
val value: Output<BotSlotValueArgs>? = null

The current value of the slot.

Link copied to clipboard
val values: Output<List<BotSlotValueOverrideArgs>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): BotSlotValueOverrideArgs