public GameSessionConnectionInfo withMatchedPlayerSessions(MatchedPlayerSession... matchedPlayerSessions) {
        if (this.matchedPlayerSessions == null) {
            setMatchedPlayerSessions(new java.util.ArrayList<MatchedPlayerSession>(matchedPlayerSessions.length));
        }
        for (MatchedPlayerSession ele : matchedPlayerSessions) {
            this.matchedPlayerSessions.add(ele);
        }
        return this;
    }
<p>
A collection of player session IDs, one for each player ID that was included in the original matchmaking request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMatchedPlayerSessions(java.util.Collection)} or
{@link #withMatchedPlayerSessions(java.util.Collection)} if you want to override the existing values.
</p>

@param matchedPlayerSessions
       A collection of player session IDs, one for each player ID that was included in the original matchmaking
       request.
@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/GameSessionConnectionInfo.java