@Generated(value="software.amazon.awssdk:codegen") public class PlayerLatency extends Object implements StructuredPojo, ToCopyableBuilder<PlayerLatency.Builder,PlayerLatency>
Regional latency information for a player, used when requesting a new game session with StartGameSessionPlacement. This value indicates the amount of time lag that exists when the player is connected to a fleet in the specified region. The relative difference between a player's latency values for multiple regions are used to determine which fleets are best suited to place a new game session for the player.
Modifier and Type | Class and Description |
---|---|
static interface |
PlayerLatency.Builder |
Modifier and Type | Method and Description |
---|---|
static PlayerLatency.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Float |
latencyInMilliseconds()
Amount of time that represents the time lag experienced by the player when connected to the specified region.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
playerId()
Unique identifier for a player associated with the latency data.
|
String |
regionIdentifier()
Name of the region that is associated with the latency value.
|
static Class<? extends PlayerLatency.Builder> |
serializableBuilderClass() |
PlayerLatency.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 associated with the latency data.
public String regionIdentifier()
Name of the region that is associated with the latency value.
public Float latencyInMilliseconds()
Amount of time that represents the time lag experienced by the player when connected to the specified region.
public PlayerLatency.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PlayerLatency.Builder,PlayerLatency>
public static PlayerLatency.Builder builder()
public static Class<? extends PlayerLatency.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.