public class DeleteSessionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Removes session information for a specified bot, alias, and user ID.
| Constructor and Description |
|---|
DeleteSessionRequest() |
| 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 |
getUserId()
The identifier of the user associated with the session data.
|
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 |
setUserId(java.lang.String userId)
The identifier of the user associated with the session data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteSessionRequest |
withBotAlias(java.lang.String botAlias)
The alias in use for the bot that contains the session data.
|
DeleteSessionRequest |
withBotName(java.lang.String botName)
The name of the bot that contains the session data.
|
DeleteSessionRequest |
withUserId(java.lang.String userId)
The identifier of the user associated with the session data.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 DeleteSessionRequest 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 DeleteSessionRequest 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 identifier of the user associated with the session data.
Constraints:
Length: 2 - 100
Pattern: [0-9a-zA-Z._:-]+
The identifier of the user associated with the session data.
public void setUserId(java.lang.String userId)
The identifier of the user associated with the session data.
Constraints:
Length: 2 - 100
Pattern: [0-9a-zA-Z._:-]+
userId - The identifier of the user associated with the session data.
public DeleteSessionRequest withUserId(java.lang.String userId)
The identifier of the user associated with the session data.
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 identifier of the user associated with the session data.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.