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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.SlotValueOverridePropertystatic final classAn implementation forCfnBot.SlotValueOverrideProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetShape()When the shape value isList, it indicates that thevaluesfield contains a list of slot values.default ObjectgetValue()The current value of the slot.default ObjectA 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 thevaluesfield contains a list of slot values.When the value is
Scalar, it indicates that thevaluefield 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
-