public Player withPlayerAttributes(java.util.Map<String, AttributeValue> playerAttributes) {
        setPlayerAttributes(playerAttributes);
        return this;
    }
public Player withPlayerAttributes ( java . util . Map < String , AttributeValue > playerAttributes ) { setPlayerAttributes ( playerAttributes ) ; return this ; }
<p>
Collection of key:value pairs containing player information for use in matchmaking. Player attribute keys must
match the <i>playerAttributes</i> used in a matchmaking rule set. Example:
<code>"PlayerAttributes": {"skill": {"N": "23"}, "gameMode": {"S": "deathmatch"}}</code>.
</p>

@param playerAttributes
Collection of key:value pairs containing player information for use in matchmaking. Player attribute keys
must match the <i>playerAttributes</i> used in a matchmaking rule set. Example:
<code>"PlayerAttributes": {"skill": {"N": "23"}, "gameMode": {"S": "deathmatch"}}</code>.
@return Returns a reference to this object so that method calls can be chained together.