@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for the game session to add a player to.
|
String |
getPlayerData()
Developer-defined information related to a player.
|
String |
getPlayerId()
Unique identifier for a player.
|
int |
hashCode() |
void |
setGameSessionId(String gameSessionId)
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)
Unique identifier for a player.
|
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 |
withPlayerData(String playerData)
Developer-defined information related to a player.
|
CreatePlayerSessionRequest |
withPlayerId(String playerId)
Unique identifier for a player.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setGameSessionId(String gameSessionId)
Unique identifier for the game session to add a player to.
gameSessionId
- Unique identifier for the game session to add a player to.public String getGameSessionId()
Unique identifier for the game session to add a player to.
public CreatePlayerSessionRequest withGameSessionId(String gameSessionId)
Unique identifier for the game session to add a player to.
gameSessionId
- Unique identifier for the game session to add a player to.public void setPlayerId(String playerId)
Unique identifier for a player. Player IDs are developer-defined.
playerId
- Unique identifier for a player. Player IDs are developer-defined.public String getPlayerId()
Unique identifier for a player. Player IDs are developer-defined.
public CreatePlayerSessionRequest withPlayerId(String playerId)
Unique identifier for a player. Player IDs are developer-defined.
playerId
- Unique identifier for a player. Player IDs are developer-defined.public void setPlayerData(String playerData)
Developer-defined information related to a player. Amazon 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. Amazon 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. Amazon 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. Amazon 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. Amazon GameLift does not use this data, so it can be
formatted as needed for use in the game.public String toString()
toString
in class Object
Object.toString()
public CreatePlayerSessionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.