public class DeleteSessionRequest extends AmazonWebServiceRequest implements Serializable
Removes session information for a specified bot, alias, and user ID.
| Constructor and Description |
|---|
DeleteSessionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBotAlias()
The alias in use for the bot that contains the session data.
|
String |
getBotName()
The name of the bot that contains the session data.
|
String |
getUserId()
The identifier of the user associated with the session data.
|
int |
hashCode() |
void |
setBotAlias(String botAlias)
The alias in use for the bot that contains the session data.
|
void |
setBotName(String botName)
The name of the bot that contains the session data.
|
void |
setUserId(String userId)
The identifier of the user associated with the session data.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteSessionRequest |
withBotAlias(String botAlias)
The alias in use for the bot that contains the session data.
|
DeleteSessionRequest |
withBotName(String botName)
The name of the bot that contains the session data.
|
DeleteSessionRequest |
withUserId(String userId)
The identifier of the user associated with the session data.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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(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(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 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(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(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.