@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) |
List<ActiveContext> |
getActiveContexts()
A list of active contexts for the session.
|
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 |
setActiveContexts(Collection<ActiveContext> activeContexts)
A list of active contexts for the session.
|
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 |
withActiveContexts(ActiveContext... activeContexts)
A list of active contexts for the session.
|
GetSessionResult |
withActiveContexts(Collection<ActiveContext> activeContexts)
A list of active contexts for the session.
|
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 List<ActiveContext> getActiveContexts()
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the
PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
public void setActiveContexts(Collection<ActiveContext> activeContexts)
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the
PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
activeContexts
- A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling
the PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
public GetSessionResult withActiveContexts(ActiveContext... activeContexts)
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the
PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
NOTE: This method appends the values to the existing list (if any). Use
setActiveContexts(java.util.Collection)
or withActiveContexts(java.util.Collection)
if you want
to override the existing values.
activeContexts
- A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling
the PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
public GetSessionResult withActiveContexts(Collection<ActiveContext> activeContexts)
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the
PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
activeContexts
- A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling
the PostContent
, PostText
, or PutSession
operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
public String toString()
toString
in class Object
Object.toString()
public GetSessionResult clone()