@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePlayerSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreatePlayerSessionRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePlayerSessionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getGameSessionId()
A unique identifier for the game session to add a player to.
|
String |
getPlayerData()
Developer-defined information related to a player.
|
String |
getPlayerId()
A unique identifier for a player.
|
int |
hashCode() |
void |
setGameSessionId(String gameSessionId)
A unique identifier for the game session to add a player to.
|
void |
setPlayerData(String playerData)
Developer-defined information related to a player.
|
void |
setPlayerId(String playerId)
A unique identifier for a player.
|
String |
toString()
Returns a string representation of this object.
|
CreatePlayerSessionRequest |
withGameSessionId(String gameSessionId)
A unique identifier for the game session to add a player to.
|
CreatePlayerSessionRequest |
withPlayerData(String playerData)
Developer-defined information related to a player.
|
CreatePlayerSessionRequest |
withPlayerId(String playerId)
A unique identifier for a player.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setGameSessionId(String gameSessionId)
A unique identifier for the game session to add a player to.
gameSessionId - A unique identifier for the game session to add a player to.public String getGameSessionId()
A unique identifier for the game session to add a player to.
public CreatePlayerSessionRequest withGameSessionId(String gameSessionId)
A unique identifier for the game session to add a player to.
gameSessionId - A unique identifier for the game session to add a player to.public void setPlayerId(String playerId)
A unique identifier for a player. Player IDs are developer-defined.
playerId - A unique identifier for a player. Player IDs are developer-defined.public String getPlayerId()
A unique identifier for a player. Player IDs are developer-defined.
public CreatePlayerSessionRequest withPlayerId(String playerId)
A unique identifier for a player. Player IDs are developer-defined.
playerId - A unique identifier for a player. Player IDs are developer-defined.public void setPlayerData(String playerData)
Developer-defined information related to a player. GameLift does not use this data, so it can be formatted as needed for use in the game.
playerData - Developer-defined information related to a player. GameLift does not use this data, so it can be formatted
as needed for use in the game.public String getPlayerData()
Developer-defined information related to a player. GameLift does not use this data, so it can be formatted as needed for use in the game.
public CreatePlayerSessionRequest withPlayerData(String playerData)
Developer-defined information related to a player. GameLift does not use this data, so it can be formatted as needed for use in the game.
playerData - Developer-defined information related to a player. GameLift does not use this data, so it can be formatted
as needed for use in the game.public String toString()
toString in class ObjectObject.toString()public CreatePlayerSessionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.