@Generated(value="software.amazon.awssdk:codegen") public final class DesiredPlayerSession extends Object implements StructuredPojo, ToCopyableBuilder<DesiredPlayerSession.Builder,DesiredPlayerSession>
Player information for use when creating player sessions using a game session placement request with StartGameSessionPlacement.
Modifier and Type | Class and Description |
---|---|
static interface |
DesiredPlayerSession.Builder |
Modifier and Type | Method and Description |
---|---|
static DesiredPlayerSession.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 |
playerData()
Developer-defined information related to a player.
|
String |
playerId()
Unique identifier for a player to associate with the player session.
|
static Class<? extends DesiredPlayerSession.Builder> |
serializableBuilderClass() |
DesiredPlayerSession.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 to associate with the player session.
public String playerData()
Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.
public DesiredPlayerSession.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DesiredPlayerSession.Builder,DesiredPlayerSession>
public static DesiredPlayerSession.Builder builder()
public static Class<? extends DesiredPlayerSession.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.