@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Value extends Object implements Serializable, Cloneable, StructuredPojo
The value of a slot.
| Constructor and Description |
|---|
Value() |
| Modifier and Type | Method and Description |
|---|---|
Value |
clone() |
boolean |
equals(Object obj) |
String |
getInterpretedValue()
The value that Amazon Lex V2 determines for the slot.
|
String |
getOriginalValue()
The text of the utterance from the user that was entered for the slot.
|
List<String> |
getResolvedValues()
A list of additional values that have been recognized for the slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInterpretedValue(String interpretedValue)
The value that Amazon Lex V2 determines for the slot.
|
void |
setOriginalValue(String originalValue)
The text of the utterance from the user that was entered for the slot.
|
void |
setResolvedValues(Collection<String> resolvedValues)
A list of additional values that have been recognized for the slot.
|
String |
toString()
Returns a string representation of this object.
|
Value |
withInterpretedValue(String interpretedValue)
The value that Amazon Lex V2 determines for the slot.
|
Value |
withOriginalValue(String originalValue)
The text of the utterance from the user that was entered for the slot.
|
Value |
withResolvedValues(Collection<String> resolvedValues)
A list of additional values that have been recognized for the slot.
|
Value |
withResolvedValues(String... resolvedValues)
A list of additional values that have been recognized for the slot.
|
public void setOriginalValue(String originalValue)
The text of the utterance from the user that was entered for the slot.
originalValue - The text of the utterance from the user that was entered for the slot.public String getOriginalValue()
The text of the utterance from the user that was entered for the slot.
public Value withOriginalValue(String originalValue)
The text of the utterance from the user that was entered for the slot.
originalValue - The text of the utterance from the user that was entered for the slot.public void setInterpretedValue(String 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.
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.public String getInterpretedValue()
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.
resolvedValues list.public Value withInterpretedValue(String 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.
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.public List<String> getResolvedValues()
A list of additional values that have been recognized for the slot.
public void setResolvedValues(Collection<String> resolvedValues)
A list of additional values that have been recognized for the slot.
resolvedValues - A list of additional values that have been recognized for the slot.public Value withResolvedValues(String... resolvedValues)
A list of additional values that have been recognized for the slot.
NOTE: This method appends the values to the existing list (if any). Use
setResolvedValues(java.util.Collection) or withResolvedValues(java.util.Collection) if you want
to override the existing values.
resolvedValues - A list of additional values that have been recognized for the slot.public Value withResolvedValues(Collection<String> resolvedValues)
A list of additional values that have been recognized for the slot.
resolvedValues - A list of additional values that have been recognized for the slot.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.