@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SlotSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SlotSummary.Builder |
builder() |
String |
description()
The description of the slot.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The timestamp of the last date and time that the slot was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SlotSummary.Builder> |
serializableBuilderClass() |
SlotConstraint |
slotConstraint()
Whether the slot is required or optional.
|
String |
slotConstraintAsString()
Whether the slot is required or optional.
|
String |
slotId()
The unique identifier of the slot.
|
String |
slotName()
The name given to the slot.
|
String |
slotTypeId()
The unique identifier for the slot type that defines the values for the slot.
|
SlotSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PromptSpecification |
valueElicitationPromptSpecification()
Prompts that are sent to the user to elicit a value for the slot.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String slotId()
The unique identifier of the slot.
public final String slotName()
The name given to the slot.
public final String description()
The description of the slot.
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, slotConstraint
will return SlotConstraint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from slotConstraintAsString().
SlotConstraintpublic 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, slotConstraint
will return SlotConstraint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from slotConstraintAsString().
SlotConstraintpublic final String slotTypeId()
The unique identifier for the slot type that defines the values for the slot.
public final PromptSpecification valueElicitationPromptSpecification()
Prompts that are sent to the user to elicit a value for the slot.
public final Instant lastUpdatedDateTime()
The timestamp of the last date and time that the slot was updated.
public SlotSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SlotSummary.Builder,SlotSummary>public static SlotSummary.Builder builder()
public static Class<? extends SlotSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.