| Package | Description |
|---|---|
| com.amazonaws.services.lexruntimev2.model |
| Modifier and Type | Method and Description |
|---|---|
Slot |
Slot.clone() |
Slot |
Slot.withShape(Shape shape)
When the
shape value is List, it indicates that the values field contains
a list of slot values. |
Slot |
Slot.withShape(String shape)
When the
shape value is List, it indicates that the values field contains
a list of slot values. |
Slot |
Slot.withValue(Value value)
The current value of the slot.
|
Slot |
Slot.withValues(Collection<Slot> values)
A list of one or more values that the user provided for the slot.
|
Slot |
Slot.withValues(Slot... values)
A list of one or more values that the user provided for the slot.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Slot> |
Intent.getSlots()
A map of all of the slots for the intent.
|
List<Slot> |
Slot.getValues()
A list of one or more values that the user provided for the slot.
|
| Modifier and Type | Method and Description |
|---|---|
Intent |
Intent.addSlotsEntry(String key,
Slot value)
Add a single Slots entry
|
Slot |
Slot.withValues(Slot... values)
A list of one or more values that the user provided for the slot.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Intent.setSlots(Map<String,Slot> slots)
A map of all of the slots for the intent.
|
void |
Slot.setValues(Collection<Slot> values)
A list of one or more values that the user provided for the slot.
|
Intent |
Intent.withSlots(Map<String,Slot> slots)
A map of all of the slots for the intent.
|
Slot |
Slot.withValues(Collection<Slot> values)
A list of one or more values that the user provided for the slot.
|
Copyright © 2022. All rights reserved.