public class CreatePlayerSessionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gameSessionId
Unique identifier for a game session.
|
private java.lang.String |
playerId
Unique identifier for the player to be added.
|
NOOP
Constructor and Description |
---|
CreatePlayerSessionRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePlayerSessionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGameSessionId()
Unique identifier for a game session.
|
java.lang.String |
getPlayerId()
Unique identifier for the player to be added.
|
int |
hashCode() |
void |
setGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
|
void |
setPlayerId(java.lang.String playerId)
Unique identifier for the player to be added.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePlayerSessionRequest |
withGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
|
CreatePlayerSessionRequest |
withPlayerId(java.lang.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, withSdkRequestTimeout
private java.lang.String gameSessionId
Unique identifier for a game session. Specify the game session you want to add a player to.
private java.lang.String playerId
Unique identifier for the player to be added.
public void setGameSessionId(java.lang.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 java.lang.String getGameSessionId()
Unique identifier for a game session. Specify the game session you want to add a player to.
public CreatePlayerSessionRequest withGameSessionId(java.lang.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(java.lang.String playerId)
Unique identifier for the player to be added.
playerId
- Unique identifier for the player to be added.public java.lang.String getPlayerId()
Unique identifier for the player to be added.
public CreatePlayerSessionRequest withPlayerId(java.lang.String playerId)
Unique identifier for the player to be added.
playerId
- Unique identifier for the player to be added.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreatePlayerSessionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()