Class CreatePlayerSessionsRequest

    • Constructor Detail

      • CreatePlayerSessionsRequest

        public CreatePlayerSessionsRequest()
    • Method Detail

      • setGameSessionId

        public void setGameSessionId​(String gameSessionId)

        Unique identifier for a game session.

        Parameters:
        gameSessionId - Unique identifier for a game session.
      • getGameSessionId

        public String getGameSessionId()

        Unique identifier for a game session.

        Returns:
        Unique identifier for a game session.
      • withGameSessionId

        public CreatePlayerSessionsRequest withGameSessionId​(String gameSessionId)

        Unique identifier for a game session.

        Parameters:
        gameSessionId - Unique identifier for a game session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getPlayerIds

        public List<String> getPlayerIds()

        List of unique identifiers for the players to be added.

        Returns:
        List of unique identifiers for the players to be added.
      • setPlayerIds

        public void setPlayerIds​(Collection<String> playerIds)

        List of unique identifiers for the players to be added.

        Parameters:
        playerIds - List of unique identifiers for the players to be added.
      • withPlayerIds

        public CreatePlayerSessionsRequest withPlayerIds​(Collection<String> playerIds)

        List of unique identifiers for the players to be added.

        Parameters:
        playerIds - List of unique identifiers for the players to be added.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object