Interface GetPlayerConnectionDetailsResponse.Builder

  • Method Details

    • gameSessionId

      GetPlayerConnectionDetailsResponse.Builder gameSessionId(String gameSessionId)

      An identifier for the game session that is unique across all regions for which the player connection details were retrieved. 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 for which the player connection details were retrieved. 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.
    • playerConnectionDetails

      GetPlayerConnectionDetailsResponse.Builder playerConnectionDetails(Collection<PlayerConnectionDetail> playerConnectionDetails)

      A collection of player connection detail objects, one for each requested player.

      Parameters:
      playerConnectionDetails - A collection of player connection detail objects, one for each requested player.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playerConnectionDetails

      GetPlayerConnectionDetailsResponse.Builder playerConnectionDetails(PlayerConnectionDetail... playerConnectionDetails)

      A collection of player connection detail objects, one for each requested player.

      Parameters:
      playerConnectionDetails - A collection of player connection detail objects, one for each requested player.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playerConnectionDetails

      GetPlayerConnectionDetailsResponse.Builder playerConnectionDetails(Consumer<PlayerConnectionDetail.Builder>... playerConnectionDetails)

      A collection of player connection detail objects, one for each requested player.

      This is a convenience method that creates an instance of the PlayerConnectionDetail.Builder avoiding the need to create one manually via PlayerConnectionDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to playerConnectionDetails(List<PlayerConnectionDetail>).

      Parameters:
      playerConnectionDetails - a consumer that will call methods on PlayerConnectionDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: