@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a slot, a value that the bot elicits from the user.
Constructor and Description |
---|
SlotSummary() |
Modifier and Type | Method and Description |
---|---|
SlotSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the slot.
|
Date |
getLastUpdatedDateTime()
The timestamp of the last date and time that the slot was updated.
|
String |
getSlotConstraint()
Whether the slot is required or optional.
|
String |
getSlotId()
The unique identifier of the slot.
|
String |
getSlotName()
The name given to the slot.
|
String |
getSlotTypeId()
The unique identifier for the slot type that defines the values for the slot.
|
PromptSpecification |
getValueElicitationPromptSpecification()
Prompts that are sent to the user to elicit a value for the slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the slot.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The timestamp of the last date and time that the slot was updated.
|
void |
setSlotConstraint(String slotConstraint)
Whether the slot is required or optional.
|
void |
setSlotId(String slotId)
The unique identifier of the slot.
|
void |
setSlotName(String slotName)
The name given to the slot.
|
void |
setSlotTypeId(String slotTypeId)
The unique identifier for the slot type that defines the values for the slot.
|
void |
setValueElicitationPromptSpecification(PromptSpecification valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
|
String |
toString()
Returns a string representation of this object.
|
SlotSummary |
withDescription(String description)
The description of the slot.
|
SlotSummary |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The timestamp of the last date and time that the slot was updated.
|
SlotSummary |
withSlotConstraint(SlotConstraint slotConstraint)
Whether the slot is required or optional.
|
SlotSummary |
withSlotConstraint(String slotConstraint)
Whether the slot is required or optional.
|
SlotSummary |
withSlotId(String slotId)
The unique identifier of the slot.
|
SlotSummary |
withSlotName(String slotName)
The name given to the slot.
|
SlotSummary |
withSlotTypeId(String slotTypeId)
The unique identifier for the slot type that defines the values for the slot.
|
SlotSummary |
withValueElicitationPromptSpecification(PromptSpecification valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
|
public void setSlotId(String slotId)
The unique identifier of the slot.
slotId
- The unique identifier of the slot.public String getSlotId()
The unique identifier of the slot.
public SlotSummary withSlotId(String slotId)
The unique identifier of the slot.
slotId
- The unique identifier of the slot.public void setSlotName(String slotName)
The name given to the slot.
slotName
- The name given to the slot.public String getSlotName()
The name given to the slot.
public SlotSummary withSlotName(String slotName)
The name given to the slot.
slotName
- The name given to the slot.public void setDescription(String description)
The description of the slot.
description
- The description of the slot.public String getDescription()
The description of the slot.
public SlotSummary withDescription(String description)
The description of the slot.
description
- The description of the slot.public void setSlotConstraint(String slotConstraint)
Whether the slot is required or optional. An intent is complete when all required slots are filled.
slotConstraint
- Whether the slot is required or optional. An intent is complete when all required slots are filled.SlotConstraint
public String getSlotConstraint()
Whether the slot is required or optional. An intent is complete when all required slots are filled.
SlotConstraint
public SlotSummary withSlotConstraint(String slotConstraint)
Whether the slot is required or optional. An intent is complete when all required slots are filled.
slotConstraint
- Whether the slot is required or optional. An intent is complete when all required slots are filled.SlotConstraint
public SlotSummary withSlotConstraint(SlotConstraint slotConstraint)
Whether the slot is required or optional. An intent is complete when all required slots are filled.
slotConstraint
- Whether the slot is required or optional. An intent is complete when all required slots are filled.SlotConstraint
public void setSlotTypeId(String slotTypeId)
The unique identifier for the slot type that defines the values for the slot.
slotTypeId
- The unique identifier for the slot type that defines the values for the slot.public String getSlotTypeId()
The unique identifier for the slot type that defines the values for the slot.
public SlotSummary withSlotTypeId(String slotTypeId)
The unique identifier for the slot type that defines the values for the slot.
slotTypeId
- The unique identifier for the slot type that defines the values for the slot.public void setValueElicitationPromptSpecification(PromptSpecification valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
valueElicitationPromptSpecification
- Prompts that are sent to the user to elicit a value for the slot.public PromptSpecification getValueElicitationPromptSpecification()
Prompts that are sent to the user to elicit a value for the slot.
public SlotSummary withValueElicitationPromptSpecification(PromptSpecification valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
valueElicitationPromptSpecification
- Prompts that are sent to the user to elicit a value for the slot.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The timestamp of the last date and time that the slot was updated.
lastUpdatedDateTime
- The timestamp of the last date and time that the slot was updated.public Date getLastUpdatedDateTime()
The timestamp of the last date and time that the slot was updated.
public SlotSummary withLastUpdatedDateTime(Date lastUpdatedDateTime)
The timestamp of the last date and time that the slot was updated.
lastUpdatedDateTime
- The timestamp of the last date and time that the slot was updated.public String toString()
toString
in class Object
Object.toString()
public SlotSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.