Interface CfnBot.SlotValueOverrideProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.SlotValueOverrideProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.SlotValueOverrideProperty
extends software.amazon.jsii.JsiiSerializable
The slot values that Amazon Lex uses when it sets slot values in a dialog step.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lex.*; SlotValueOverrideProperty slotValueOverrideProperty_; SlotValueOverrideProperty slotValueOverrideProperty = SlotValueOverrideProperty.builder() .shape("shape") .value(SlotValueProperty.builder() .interpretedValue("interpretedValue") .build()) .values(List.of(SlotValueOverrideProperty.builder() .shape("shape") .value(SlotValueProperty.builder() .interpretedValue("interpretedValue") .build()) .values(List.of(slotValueOverrideProperty_)) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.SlotValueOverrideProperty
static final class
An implementation forCfnBot.SlotValueOverrideProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
getShape()
When the shape value isList
, it indicates that thevalues
field contains a list of slot values.default Object
getValue()
The current value of the slot.default Object
A list of one or more values that the user provided for the slot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getShape
When the shape value isList
, it indicates that thevalues
field contains a list of slot values.When the value is
Scalar
, it indicates that thevalue
field contains a single value. -
getValue
The current value of the slot. -
getValues
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."
-
builder
-