Class SlotSummary
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.SlotSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlotSummary.Builder,SlotSummary>
@Generated("software.amazon.awssdk:codegen") public final class SlotSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotSummary.Builder,SlotSummary>
Summary information about a slot, a value that the bot elicits from the user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlotSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlotSummary.Builderbuilder()Stringdescription()The description of the slot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The timestamp of the last date and time that the slot was updated.List<SdkField<?>>sdkFields()static Class<? extends SlotSummary.Builder>serializableBuilderClass()SlotConstraintslotConstraint()Whether the slot is required or optional.StringslotConstraintAsString()Whether the slot is required or optional.StringslotId()The unique identifier of the slot.StringslotName()The name given to the slot.StringslotTypeId()The unique identifier for the slot type that defines the values for the slot.SlotSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.PromptSpecificationvalueElicitationPromptSpecification()Prompts that are sent to the user to elicit a value for the slot.-
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
-
slotId
public final String slotId()
The unique identifier of the slot.
- Returns:
- The unique identifier of the slot.
-
slotName
public final String slotName()
The name given to the slot.
- Returns:
- The name given to the slot.
-
description
public final String description()
The description of the slot.
- Returns:
- The description of the slot.
-
slotConstraint
public final SlotConstraint slotConstraint()
Whether the slot is required or optional. An intent is complete when all required slots are filled.
If the service returns an enum value that is not available in the current SDK version,
slotConstraintwill returnSlotConstraint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromslotConstraintAsString().- Returns:
- Whether the slot is required or optional. An intent is complete when all required slots are filled.
- See Also:
SlotConstraint
-
slotConstraintAsString
public final String slotConstraintAsString()
Whether the slot is required or optional. An intent is complete when all required slots are filled.
If the service returns an enum value that is not available in the current SDK version,
slotConstraintwill returnSlotConstraint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromslotConstraintAsString().- Returns:
- Whether the slot is required or optional. An intent is complete when all required slots are filled.
- See Also:
SlotConstraint
-
slotTypeId
public final String slotTypeId()
The unique identifier for the slot type that defines the values for the slot.
- Returns:
- The unique identifier for the slot type that defines the values for the slot.
-
valueElicitationPromptSpecification
public final PromptSpecification valueElicitationPromptSpecification()
Prompts that are sent to the user to elicit a value for the slot.
- Returns:
- Prompts that are sent to the user to elicit a value for the slot.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The timestamp of the last date and time that the slot was updated.
- Returns:
- The timestamp of the last date and time that the slot was updated.
-
toBuilder
public SlotSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlotSummary.Builder,SlotSummary>
-
builder
public static SlotSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlotSummary.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.
-
-