Class SlotValue
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.SlotValue
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlotValue.Builder,SlotValue>
@Generated("software.amazon.awssdk:codegen") public final class SlotValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotValue.Builder,SlotValue>
The value to set in a slot.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlotValue.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlotValue.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinterpretedValue()The value that Amazon Lex determines for the slot.List<SdkField<?>>sdkFields()static Class<? extends SlotValue.Builder>serializableBuilderClass()SlotValue.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
interpretedValue
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
resolvedValueslist.- Returns:
- 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
resolvedValueslist.
-
toBuilder
public SlotValue.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlotValue.Builder,SlotValue>
-
builder
public static SlotValue.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlotValue.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-