public class GetSessionResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetSessionResult() |
Modifier and Type | Method and Description |
---|---|
GetSessionResult |
addsessionAttributesEntry(java.lang.String key,
java.lang.String value)
Map of key/value pairs representing the session-specific context
information.
|
GetSessionResult |
clearsessionAttributesEntries()
Removes all the entries added into sessionAttributes.
|
boolean |
equals(java.lang.Object obj) |
DialogAction |
getDialogAction()
Describes the current state of the bot.
|
java.util.List<IntentSummary> |
getRecentIntentSummaryView()
An array of information about the intents used in the session.
|
java.util.Map<java.lang.String,java.lang.String> |
getSessionAttributes()
Map of key/value pairs representing the session-specific context
information.
|
java.lang.String |
getSessionId()
A unique identifier for the session.
|
int |
hashCode() |
void |
setDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
|
void |
setRecentIntentSummaryView(java.util.Collection<IntentSummary> recentIntentSummaryView)
An array of information about the intents used in the session.
|
void |
setSessionAttributes(java.util.Map<java.lang.String,java.lang.String> sessionAttributes)
Map of key/value pairs representing the session-specific context
information.
|
void |
setSessionId(java.lang.String sessionId)
A unique identifier for the session.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetSessionResult |
withDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
|
GetSessionResult |
withRecentIntentSummaryView(java.util.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(java.util.Map<java.lang.String,java.lang.String> sessionAttributes)
Map of key/value pairs representing the session-specific context
information.
|
GetSessionResult |
withSessionId(java.lang.String sessionId)
A unique identifier for the session.
|
public java.util.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.
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 void setRecentIntentSummaryView(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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 java.util.Map<java.lang.String,java.lang.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.
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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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(java.lang.String key, java.lang.String value)
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
The method adds a new key-value pair into sessionAttributes parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into sessionAttributes.value
- The corresponding value of the entry to be added into
sessionAttributes.public GetSessionResult clearsessionAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getSessionId()
A unique identifier for the session.
A unique identifier for the session.
public void setSessionId(java.lang.String sessionId)
A unique identifier for the session.
sessionId
- A unique identifier for the session.
public GetSessionResult withSessionId(java.lang.String sessionId)
A unique identifier for the session.
Returns a reference to this object so that method calls can be chained together.
sessionId
- A unique identifier for the session.
public DialogAction getDialogAction()
Describes the current state of the bot.
Describes the current state of the bot.
public void setDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
dialogAction
- Describes the current state of the bot.
public GetSessionResult withDialogAction(DialogAction dialogAction)
Describes the current state of the bot.
Returns a reference to this object so that method calls can be chained together.
dialogAction
- Describes the current state of the bot.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.