@Generated(value="software.amazon.awssdk:codegen") public class MatchedPlayerSession extends Object implements StructuredPojo, ToCopyableBuilder<MatchedPlayerSession.Builder,MatchedPlayerSession>
Represents a new player session that is created as a result of a successful FlexMatch match. A successful match automatically creates new player sessions for every player ID in the original matchmaking request.
When players connect to the match's game session, they must include both player ID and player session ID in order to claim their assigned player slot.
Modifier and Type | Class and Description |
---|---|
static interface |
MatchedPlayerSession.Builder |
Modifier and Type | Method and Description |
---|---|
static MatchedPlayerSession.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
|
String |
playerSessionId()
Unique identifier for a player session
|
static Class<? extends MatchedPlayerSession.Builder> |
serializableBuilderClass() |
MatchedPlayerSession.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
public String playerSessionId()
Unique identifier for a player session
public MatchedPlayerSession.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MatchedPlayerSession.Builder,MatchedPlayerSession>
public static MatchedPlayerSession.Builder builder()
public static Class<? extends MatchedPlayerSession.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.