public class CreatePlayerSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP| Constructor and Description |
|---|
CreatePlayerSessionRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePlayerSessionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for the game session to add a player to.
|
String |
getPlayerId()
Unique identifier for the player to be added.
|
int |
hashCode() |
void |
setGameSessionId(String gameSessionId)
Unique identifier for the game session to add a player to.
|
void |
setPlayerId(String playerId)
Unique identifier for the player to be added.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePlayerSessionRequest |
withGameSessionId(String gameSessionId)
Unique identifier for the game session to add a player to.
|
CreatePlayerSessionRequest |
withPlayerId(String playerId)
Unique identifier for the player to be added.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setGameSessionId(String gameSessionId)
Unique identifier for the game session to add a player to. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
gameSessionId - Unique identifier for the game session to add a player to. Game session ID format is as follows:
"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of
<ID string> is either a custom ID string (if one was specified when the game session was created) an
auto-generated string.public String getGameSessionId()
Unique identifier for the game session to add a player to. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
public CreatePlayerSessionRequest withGameSessionId(String gameSessionId)
Unique identifier for the game session to add a player to. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an auto-generated string.
gameSessionId - Unique identifier for the game session to add a player to. Game session ID format is as follows:
"arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of
<ID string> is either a custom ID string (if one was specified when the game session was created) an
auto-generated string.public void setPlayerId(String playerId)
Unique identifier for the player to be added.
playerId - Unique identifier for the player to be added.public String getPlayerId()
Unique identifier for the player to be added.
public CreatePlayerSessionRequest withPlayerId(String playerId)
Unique identifier for the player to be added.
playerId - Unique identifier for the player to be added.public String toString()
toString in class ObjectObject.toString()public CreatePlayerSessionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.