public StartGameSessionPlacementRequest withPlayerLatencies(PlayerLatency... playerLatencies) {
        if (this.playerLatencies == null) {
            setPlayerLatencies(new java.util.ArrayList<PlayerLatency>(playerLatencies.length));
        }
        for (PlayerLatency ele : playerLatencies) {
            this.playerLatencies.add(ele);
        }
        return this;
    }
<p>
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to Amazon Web Services Regions. This information is used to try to place the new game session where it
can offer the best possible gameplay experience for the players.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPlayerLatencies(java.util.Collection)} or {@link #withPlayerLatencies(java.util.Collection)} if you
want to override the existing values.
</p>

@param playerLatencies
       A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
       when connected to Amazon Web Services Regions. This information is used to try to place the new game
       session where it can offer the best possible gameplay experience for the players.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/StartGameSessionPlacementRequest.java