Interface Value.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Value.Builder,
,Value> SdkBuilder<Value.Builder,
,Value> SdkPojo
- Enclosing class:
Value
-
Method Summary
Modifier and TypeMethodDescriptioninterpretedValue
(String interpretedValue) The value that Amazon Lex V2 determines for the slot.originalValue
(String originalValue) The text of the utterance from the user that was entered for the slot.resolvedValues
(String... resolvedValues) A list of additional values that have been recognized for the slot.resolvedValues
(Collection<String> resolvedValues) A list of additional values that have been recognized for the slot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
originalValue
The text of the utterance from the user that was entered for the slot.
- Parameters:
originalValue
- The text of the utterance from the user that was entered for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interpretedValue
The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the
resolvedValues
list.- Parameters:
interpretedValue
- The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in theresolvedValues
list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedValues
A list of additional values that have been recognized for the slot.
- Parameters:
resolvedValues
- A list of additional values that have been recognized for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedValues
A list of additional values that have been recognized for the slot.
- Parameters:
resolvedValues
- A list of additional values that have been recognized for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-