Interface DesiredPlayerSession.Builder

  • Method Details

    • playerId

      A unique identifier for a player to associate with the player session.

      Parameters:
      playerId - A unique identifier for a player to associate with the player session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playerData

      DesiredPlayerSession.Builder playerData(String playerData)

      Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.

      Parameters:
      playerData - Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.
      Returns:
      Returns a reference to this object so that method calls can be chained together.