Class PlacedPlayerSession
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.PlacedPlayerSession
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PlacedPlayerSession.Builder,PlacedPlayerSession>
@Generated("software.amazon.awssdk:codegen") public final class PlacedPlayerSession extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PlacedPlayerSession.Builder,PlacedPlayerSession>
Information about a player session. 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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePlacedPlayerSession.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlacedPlayerSession.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringplayerId()A unique identifier for a player that is associated with this player session.StringplayerSessionId()A unique identifier for a player session.List<SdkField<?>>sdkFields()static Class<? extends PlacedPlayerSession.Builder>serializableBuilderClass()PlacedPlayerSession.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
playerId
public final String playerId()
A unique identifier for a player that is associated with this player session.
- Returns:
- A unique identifier for a player that is associated with this player session.
-
playerSessionId
public final String playerSessionId()
A unique identifier for a player session.
- Returns:
- A unique identifier for a player session.
-
toBuilder
public PlacedPlayerSession.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PlacedPlayerSession.Builder,PlacedPlayerSession>
-
builder
public static PlacedPlayerSession.Builder builder()
-
serializableBuilderClass
public static Class<? extends PlacedPlayerSession.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-