@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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)
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. 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()