public GameSessionPlacement 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.
</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.
@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/GameSessionPlacement.java