@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSessionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSessionResult() |
Modifier and Type | Method and Description |
---|---|
GetSessionResult |
addSessionAttributesEntry(String key,
String value)
Add a single SessionAttributes entry
|
GetSessionResult |
clearSessionAttributesEntries()
Removes all the entries added into SessionAttributes.
|
GetSessionResult |
clone() |
boolean |
equals(Object obj) |
DialogAction |
getDialogAction()
Describes the current state of the bot.
|
List<IntentSummary> |
getRecentIntentSummaryView()
An array of information about the intents used in the session.
|
Map<String,String> |
getSessionAttributes()
Map of key/value pairs representing the session-specific context information.
|
String |
getSessionId()
A unique identifier for the session.
|
int |
hashCode() |
void |
setDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
|
void |
setRecentIntentSummaryView(Collection<IntentSummary> recentIntentSummaryView)
An array of information about the intents used in the session.
|
void |
setSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing the session-specific context information.
|
void |
setSessionId(String sessionId)
A unique identifier for the session.
|
String |
toString()
Returns a string representation of this object.
|
GetSessionResult |
withDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
|
GetSessionResult |
withRecentIntentSummaryView(Collection<IntentSummary> recentIntentSummaryView)
An array of information about the intents used in the session.
|
GetSessionResult |
withRecentIntentSummaryView(IntentSummary... recentIntentSummaryView)
An array of information about the intents used in the session.
|
GetSessionResult |
withSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing the session-specific context information.
|
GetSessionResult |
withSessionId(String sessionId)
A unique identifier for the session.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<IntentSummary> getRecentIntentSummaryView()
An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation
contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the intents
with the specified label.
recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the
intents with the specified label.
public void setRecentIntentSummaryView(Collection<IntentSummary> recentIntentSummaryView)
An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation
contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the intents
with the specified label.
recentIntentSummaryView
- An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the
intents with the specified label.
public GetSessionResult withRecentIntentSummaryView(IntentSummary... recentIntentSummaryView)
An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation
contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the intents
with the specified label.
NOTE: This method appends the values to the existing list (if any). Use
setRecentIntentSummaryView(java.util.Collection)
or
withRecentIntentSummaryView(java.util.Collection)
if you want to override the existing values.
recentIntentSummaryView
- An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the
intents with the specified label.
public GetSessionResult withRecentIntentSummaryView(Collection<IntentSummary> recentIntentSummaryView)
An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation
contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the intents
with the specified label.
recentIntentSummaryView
- An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the
intents with the specified label.
public Map<String,String> getSessionAttributes()
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
public void setSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
sessionAttributes
- Map of key/value pairs representing the session-specific context information. It contains application
information passed between Amazon Lex and a client application.public GetSessionResult withSessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
sessionAttributes
- Map of key/value pairs representing the session-specific context information. It contains application
information passed between Amazon Lex and a client application.public GetSessionResult addSessionAttributesEntry(String key, String value)
public GetSessionResult clearSessionAttributesEntries()
public void setSessionId(String sessionId)
A unique identifier for the session.
sessionId
- A unique identifier for the session.public String getSessionId()
A unique identifier for the session.
public GetSessionResult withSessionId(String sessionId)
A unique identifier for the session.
sessionId
- A unique identifier for the session.public void setDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
dialogAction
- Describes the current state of the bot.public DialogAction getDialogAction()
Describes the current state of the bot.
public GetSessionResult withDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
dialogAction
- Describes the current state of the bot.public String toString()
toString
in class Object
Object.toString()
public GetSessionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.