public class AlexaIntentRequest extends AlexaRequest
| Constructor and Description |
|---|
AlexaIntentRequest(AlexaSession actor,
String intentName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
expectsResponse() |
String |
getIntentName() |
String |
getSlotSummary() |
com.amazon.speech.speechlet.CoreSpeechletRequest |
getSpeechletRequest() |
AlexaIntentRequest |
withSlot(String slotName,
Object slotValue) |
AlexaIntentRequest |
withSlots(List<com.amazon.speech.slu.Slot> slots) |
AlexaIntentRequest |
withSlots(Map<String,com.amazon.speech.slu.Slot> slots) |
generateRequestId, getSessionpublic AlexaIntentRequest(AlexaSession actor, String intentName)
public String getIntentName()
public String getSlotSummary()
public boolean expectsResponse()
expectsResponse in class AlexaRequestpublic AlexaIntentRequest withSlot(String slotName, Object slotValue)
public AlexaIntentRequest withSlots(Map<String,com.amazon.speech.slu.Slot> slots)
public AlexaIntentRequest withSlots(List<com.amazon.speech.slu.Slot> slots)
public com.amazon.speech.speechlet.CoreSpeechletRequest getSpeechletRequest()
getSpeechletRequest in class AlexaRequestCopyright © 2018. All rights reserved.