@Generated(value="software.amazon.awssdk:codegen") public final class Value extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Value.Builder,Value>
The value of a slot.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Value.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Value.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResolvedValues()
Returns true if the ResolvedValues property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
interpretedValue()
The value that Amazon Lex determines for the slot.
|
String |
originalValue()
The text of the utterance from the user that was entered for the slot.
|
List<String> |
resolvedValues()
A list of additional values that have been recognized for the slot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Value.Builder> |
serializableBuilderClass() |
Value.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String originalValue()
The text of the utterance from the user that was entered for the slot.
public final String interpretedValue()
The value that Amazon Lex 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 choose the
first value in the resolvedValues list.
resolvedValues list.public final boolean hasResolvedValues()
public final List<String> resolvedValues()
A list of additional values that have been recognized for the slot.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResolvedValues() to see if a value was sent in this field.
public Value.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Value.Builder,Value>public static Value.Builder builder()
public static Class<? extends Value.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.