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, given the user input.originalValue
(String originalValue) The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.resolvedValues
(String... resolvedValues) A list of values that Amazon Lex V2 determines are possible resolutions for the user input.resolvedValues
(Collection<String> resolvedValues) A list of values that Amazon Lex V2 determines are possible resolutions for the user input.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 part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.
- Parameters:
originalValue
- The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.- 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, given the user input. 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, given the user input. 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 values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the
interpretedValue
.- Parameters:
resolvedValues
- A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches theinterpretedValue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedValues
A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the
interpretedValue
.- Parameters:
resolvedValues
- A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches theinterpretedValue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-