public class GetSessionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns session information for a specified bot, alias, and user ID.
Constructor and Description |
---|
GetSessionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBotAlias()
The alias in use for the bot that contains the session data.
|
java.lang.String |
getBotName()
The name of the bot that contains the session data.
|
java.lang.String |
getCheckpointLabelFilter()
A string used to filter the intents returned in the
recentIntentSummaryView structure. |
java.lang.String |
getUserId()
The ID of the client application user.
|
int |
hashCode() |
void |
setBotAlias(java.lang.String botAlias)
The alias in use for the bot that contains the session data.
|
void |
setBotName(java.lang.String botName)
The name of the bot that contains the session data.
|
void |
setCheckpointLabelFilter(java.lang.String checkpointLabelFilter)
A string used to filter the intents returned in the
recentIntentSummaryView structure. |
void |
setUserId(java.lang.String userId)
The ID of the client application user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetSessionRequest |
withBotAlias(java.lang.String botAlias)
The alias in use for the bot that contains the session data.
|
GetSessionRequest |
withBotName(java.lang.String botName)
The name of the bot that contains the session data.
|
GetSessionRequest |
withCheckpointLabelFilter(java.lang.String checkpointLabelFilter)
A string used to filter the intents returned in the
recentIntentSummaryView structure. |
GetSessionRequest |
withUserId(java.lang.String userId)
The ID of the client application user.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getBotName()
The name of the bot that contains the session data.
The name of the bot that contains the session data.
public void setBotName(java.lang.String botName)
The name of the bot that contains the session data.
botName
- The name of the bot that contains the session data.
public GetSessionRequest withBotName(java.lang.String botName)
The name of the bot that contains the session data.
Returns a reference to this object so that method calls can be chained together.
botName
- The name of the bot that contains the session data.
public java.lang.String getBotAlias()
The alias in use for the bot that contains the session data.
The alias in use for the bot that contains the session data.
public void setBotAlias(java.lang.String botAlias)
The alias in use for the bot that contains the session data.
botAlias
- The alias in use for the bot that contains the session data.
public GetSessionRequest withBotAlias(java.lang.String botAlias)
The alias in use for the bot that contains the session data.
Returns a reference to this object so that method calls can be chained together.
botAlias
- The alias in use for the bot that contains the session data.
public java.lang.String getUserId()
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
Constraints:
Length: 2 - 100
Pattern: [0-9a-zA-Z._:-]+
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
public void setUserId(java.lang.String userId)
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
Constraints:
Length: 2 - 100
Pattern: [0-9a-zA-Z._:-]+
userId
- The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
public GetSessionRequest withUserId(java.lang.String userId)
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 100
Pattern: [0-9a-zA-Z._:-]+
userId
- The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
public java.lang.String getCheckpointLabelFilter()
A string used to filter the intents returned in the
recentIntentSummaryView
structure.
When you specify a filter, only intents with their
checkpointLabel
field set to that string are returned.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9-]+
A string used to filter the intents returned in the
recentIntentSummaryView
structure.
When you specify a filter, only intents with their
checkpointLabel
field set to that string are
returned.
public void setCheckpointLabelFilter(java.lang.String checkpointLabelFilter)
A string used to filter the intents returned in the
recentIntentSummaryView
structure.
When you specify a filter, only intents with their
checkpointLabel
field set to that string are returned.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9-]+
checkpointLabelFilter
-
A string used to filter the intents returned in the
recentIntentSummaryView
structure.
When you specify a filter, only intents with their
checkpointLabel
field set to that string are
returned.
public GetSessionRequest withCheckpointLabelFilter(java.lang.String checkpointLabelFilter)
A string used to filter the intents returned in the
recentIntentSummaryView
structure.
When you specify a filter, only intents with their
checkpointLabel
field set to that string are returned.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9-]+
checkpointLabelFilter
-
A string used to filter the intents returned in the
recentIntentSummaryView
structure.
When you specify a filter, only intents with their
checkpointLabel
field set to that string are
returned.
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.