@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlacedPlayerSession extends Object implements Serializable, Cloneable, StructuredPojo
Information about a player session that was created as part of a StartGameSessionPlacement request. This object contains only the player ID and player session ID. To retrieve full details on a player session, call DescribePlayerSessions with the player session ID.
Player-session-related operations include:
Constructor and Description |
---|
PlacedPlayerSession() |
Modifier and Type | Method and Description |
---|---|
PlacedPlayerSession |
clone() |
boolean |
equals(Object obj) |
String |
getPlayerId()
Unique identifier for a player that is associated with this player session.
|
String |
getPlayerSessionId()
Unique identifier for a player session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPlayerId(String playerId)
Unique identifier for a player that is associated with this player session.
|
void |
setPlayerSessionId(String playerSessionId)
Unique identifier for a player session.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PlacedPlayerSession |
withPlayerId(String playerId)
Unique identifier for a player that is associated with this player session.
|
PlacedPlayerSession |
withPlayerSessionId(String playerSessionId)
Unique identifier for a player session.
|
public void setPlayerId(String playerId)
Unique identifier for a player that is associated with this player session.
playerId
- Unique identifier for a player that is associated with this player session.public String getPlayerId()
Unique identifier for a player that is associated with this player session.
public PlacedPlayerSession withPlayerId(String playerId)
Unique identifier for a player that is associated with this player session.
playerId
- Unique identifier for a player that is associated with this player session.public void setPlayerSessionId(String playerSessionId)
Unique identifier for a player session.
playerSessionId
- Unique identifier for a player session.public String getPlayerSessionId()
Unique identifier for a player session.
public PlacedPlayerSession withPlayerSessionId(String playerSessionId)
Unique identifier for a player session.
playerSessionId
- Unique identifier for a player session.public String toString()
toString
in class Object
Object.toString()
public PlacedPlayerSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.