| Package | Description |
|---|---|
| software.amazon.awssdk.services.lexmodelbuilding.model |
| Modifier and Type | Method and Description |
|---|---|
static Slot.Builder |
Slot.builder() |
default Slot.Builder |
Slot.Builder.defaultValueSpec(Consumer<SlotDefaultValueSpec.Builder> defaultValueSpec)
A list of default values for the slot.
|
Slot.Builder |
Slot.Builder.defaultValueSpec(SlotDefaultValueSpec defaultValueSpec)
A list of default values for the slot.
|
Slot.Builder |
Slot.Builder.description(String description)
A description of the slot.
|
Slot.Builder |
Slot.Builder.name(String name)
The name of the slot.
|
Slot.Builder |
Slot.Builder.obfuscationSetting(ObfuscationSetting obfuscationSetting)
Determines whether a slot is obfuscated in conversation logs and stored utterances.
|
Slot.Builder |
Slot.Builder.obfuscationSetting(String obfuscationSetting)
Determines whether a slot is obfuscated in conversation logs and stored utterances.
|
Slot.Builder |
Slot.Builder.priority(Integer priority)
Directs Amazon Lex the order in which to elicit this slot value from the user.
|
Slot.Builder |
Slot.Builder.responseCard(String responseCard)
A set of possible responses for the slot type used by text-based clients.
|
Slot.Builder |
Slot.Builder.sampleUtterances(Collection<String> sampleUtterances)
If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you
can provide those utterances to improve accuracy.
|
Slot.Builder |
Slot.Builder.sampleUtterances(String... sampleUtterances)
If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you
can provide those utterances to improve accuracy.
|
Slot.Builder |
Slot.Builder.slotConstraint(SlotConstraint slotConstraint)
Specifies whether the slot is required or optional.
|
Slot.Builder |
Slot.Builder.slotConstraint(String slotConstraint)
Specifies whether the slot is required or optional.
|
Slot.Builder |
Slot.Builder.slotType(String slotType)
The type of the slot, either a custom slot type that you defined or one of the built-in slot types.
|
Slot.Builder |
Slot.Builder.slotTypeVersion(String slotTypeVersion)
The version of the slot type.
|
Slot.Builder |
Slot.toBuilder() |
default Slot.Builder |
Slot.Builder.valueElicitationPrompt(Consumer<Prompt.Builder> valueElicitationPrompt)
The prompt that Amazon Lex uses to elicit the slot value from the user.
|
Slot.Builder |
Slot.Builder.valueElicitationPrompt(Prompt valueElicitationPrompt)
The prompt that Amazon Lex uses to elicit the slot value from the user.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Slot.Builder> |
Slot.serializableBuilderClass() |
Copyright © 2021. All rights reserved.