@Generated(value="software.amazon.awssdk:codegen") public final class MatchedPlayerSession extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
playerId()
A unique identifier for a player
|
String |
playerSessionId()
A unique identifier for a player session
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MatchedPlayerSession.Builder> |
serializableBuilderClass() |
MatchedPlayerSession.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String playerId()
A unique identifier for a player
public final String playerSessionId()
A unique identifier for a player session
public MatchedPlayerSession.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MatchedPlayerSession.Builder,MatchedPlayerSession>public static MatchedPlayerSession.Builder builder()
public static Class<? extends MatchedPlayerSession.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.