Interface CreatePlayerSessionRequest.Builder

  • Method Details

    • gameSessionId

      CreatePlayerSessionRequest.Builder gameSessionId(String gameSessionId)

      An identifier for the game session that is unique across all regions to add a player to. The value is always a full ARN in the following format: For Home Region game session - arn:aws:gamelift:<home_region>::gamesession/<fleet ID>/<ID string>. For Remote Location game session - arn:aws:gamelift:<home_region>::gamesession/<fleet ID>/<location>/<ID string> .

      Parameters:
      gameSessionId - An identifier for the game session that is unique across all regions to add a player to. The value is always a full ARN in the following format: For Home Region game session - arn:aws:gamelift:<home_region>::gamesession/<fleet ID>/<ID string>. For Remote Location game session - arn:aws:gamelift:<home_region>::gamesession/<fleet ID>/<location>/<ID string> .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • playerData

      Developer-defined information related to a player. Amazon GameLift Servers 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 Servers 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.
    • overrideConfiguration

      CreatePlayerSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.