@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Intent extends Object implements Serializable, Cloneable, StructuredPojo
The current intent that Amazon Lex is attempting to fulfill.
| Constructor and Description |
|---|
Intent() |
| Modifier and Type | Method and Description |
|---|---|
Intent |
addSlotsEntry(String key,
Slot value)
Add a single Slots entry
|
Intent |
clearSlotsEntries()
Removes all the entries added into Slots.
|
Intent |
clone() |
boolean |
equals(Object obj) |
String |
getConfirmationState()
Contains information about whether fulfillment of the intent has been confirmed.
|
String |
getName()
The name of the intent.
|
Map<String,Slot> |
getSlots()
A map of all of the slots for the intent.
|
String |
getState()
Contains fulfillment information for the intent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConfirmationState(String confirmationState)
Contains information about whether fulfillment of the intent has been confirmed.
|
void |
setName(String name)
The name of the intent.
|
void |
setSlots(Map<String,Slot> slots)
A map of all of the slots for the intent.
|
void |
setState(String state)
Contains fulfillment information for the intent.
|
String |
toString()
Returns a string representation of this object.
|
Intent |
withConfirmationState(ConfirmationState confirmationState)
Contains information about whether fulfillment of the intent has been confirmed.
|
Intent |
withConfirmationState(String confirmationState)
Contains information about whether fulfillment of the intent has been confirmed.
|
Intent |
withName(String name)
The name of the intent.
|
Intent |
withSlots(Map<String,Slot> slots)
A map of all of the slots for the intent.
|
Intent |
withState(IntentState state)
Contains fulfillment information for the intent.
|
Intent |
withState(String state)
Contains fulfillment information for the intent.
|
public void setName(String name)
The name of the intent.
name - The name of the intent.public String getName()
The name of the intent.
public Intent withName(String name)
The name of the intent.
name - The name of the intent.public Map<String,Slot> getSlots()
A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.
public void setSlots(Map<String,Slot> slots)
A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.
slots - A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot
has not been filled, the value is null.public Intent withSlots(Map<String,Slot> slots)
A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.
slots - A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot
has not been filled, the value is null.public Intent clearSlotsEntries()
public void setState(String state)
Contains fulfillment information for the intent.
state - Contains fulfillment information for the intent.IntentStatepublic String getState()
Contains fulfillment information for the intent.
IntentStatepublic Intent withState(String state)
Contains fulfillment information for the intent.
state - Contains fulfillment information for the intent.IntentStatepublic Intent withState(IntentState state)
Contains fulfillment information for the intent.
state - Contains fulfillment information for the intent.IntentStatepublic void setConfirmationState(String confirmationState)
Contains information about whether fulfillment of the intent has been confirmed.
confirmationState - Contains information about whether fulfillment of the intent has been confirmed.ConfirmationStatepublic String getConfirmationState()
Contains information about whether fulfillment of the intent has been confirmed.
ConfirmationStatepublic Intent withConfirmationState(String confirmationState)
Contains information about whether fulfillment of the intent has been confirmed.
confirmationState - Contains information about whether fulfillment of the intent has been confirmed.ConfirmationStatepublic Intent withConfirmationState(ConfirmationState confirmationState)
Contains information about whether fulfillment of the intent has been confirmed.
confirmationState - Contains information about whether fulfillment of the intent has been confirmed.ConfirmationStatepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.