@Generated(value="software.amazon.awssdk:codegen") public final class PlacedPlayerSession extends Object implements StructuredPojo, ToCopyableBuilder<PlacedPlayerSession.Builder,PlacedPlayerSession>
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:
Modifier and Type | Class and Description |
---|---|
static interface |
PlacedPlayerSession.Builder |
Modifier and Type | Method and Description |
---|---|
static PlacedPlayerSession.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
playerId()
Unique identifier for a player that is associated with this player session.
|
String |
playerSessionId()
Unique identifier for a player session.
|
static Class<? extends PlacedPlayerSession.Builder> |
serializableBuilderClass() |
PlacedPlayerSession.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String playerId()
Unique identifier for a player that is associated with this player session.
public String playerSessionId()
Unique identifier for a player session.
public PlacedPlayerSession.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PlacedPlayerSession.Builder,PlacedPlayerSession>
public static PlacedPlayerSession.Builder builder()
public static Class<? extends PlacedPlayerSession.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.