JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.gamelift.model

Class CreatePlayerSessionRequest

    • Constructor Detail

      • CreatePlayerSessionRequest

        public CreatePlayerSessionRequest()
    • Method Detail

      • setGameSessionId

        public void setGameSessionId(String gameSessionId)

        A unique identifier for the game session to add a player to.

        Parameters:
        gameSessionId - A unique identifier for the game session to add a player to.
      • getGameSessionId

        public String getGameSessionId()

        A unique identifier for the game session to add a player to.

        Returns:
        A unique identifier for the game session to add a player to.
      • withGameSessionId

        public CreatePlayerSessionRequest withGameSessionId(String gameSessionId)

        A unique identifier for the game session to add a player to.

        Parameters:
        gameSessionId - A unique identifier for the game session to add a player to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlayerId

        public void setPlayerId(String playerId)

        A unique identifier for a player. Player IDs are developer-defined.

        Parameters:
        playerId - A unique identifier for a player. Player IDs are developer-defined.
      • getPlayerId

        public String getPlayerId()

        A unique identifier for a player. Player IDs are developer-defined.

        Returns:
        A unique identifier for a player. Player IDs are developer-defined.
      • withPlayerId

        public CreatePlayerSessionRequest withPlayerId(String playerId)

        A unique identifier for a player. Player IDs are developer-defined.

        Parameters:
        playerId - A unique identifier for a player. Player IDs are developer-defined.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlayerData

        public void setPlayerData(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.
      • getPlayerData

        public String getPlayerData()

        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:
        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.
      • withPlayerData

        public CreatePlayerSessionRequest withPlayerData(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /