Interface Value.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Value.Builder,Value>,SdkBuilder<Value.Builder,Value>,SdkPojo
- Enclosing class:
- Value
public static interface Value.Builder extends SdkPojo, CopyableBuilder<Value.Builder,Value>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Value.BuilderinterpretedValue(String interpretedValue)The value that Amazon Lex V2 determines for the slot, given the user input.Value.BuilderoriginalValue(String originalValue)The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.Value.BuilderresolvedValues(String... resolvedValues)A list of values that Amazon Lex V2 determines are possible resolutions for the user input.Value.BuilderresolvedValues(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 Detail
-
originalValue
Value.Builder 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.
- 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
Value.Builder interpretedValue(String 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
resolvedValueslist.- 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 theresolvedValueslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedValues
Value.Builder resolvedValues(Collection<String> 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
Value.Builder resolvedValues(String... 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.
-
-