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 request.
|
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for a game session.
|
String |
getPlayerId()
Unique identifier for the player to be added.
|
int |
hashCode() |
void |
setGameSessionId(String gameSessionId)
Unique identifier for a game session.
|
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 a game session.
|
CreatePlayerSessionRequest |
withPlayerId(String playerId)
Unique identifier for the player to be added.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGameSessionId(String gameSessionId)
Unique identifier for a game session. Specify the game session you want to add a player to.
gameSessionId
- Unique identifier for a game session. Specify the game session you
want to add a player to.public String getGameSessionId()
Unique identifier for a game session. Specify the game session you want to add a player to.
public CreatePlayerSessionRequest withGameSessionId(String gameSessionId)
Unique identifier for a game session. Specify the game session you want to add a player to.
gameSessionId
- Unique identifier for a game session. Specify the game session you
want to add a player to.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 Object
Object.toString()
public CreatePlayerSessionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.