Interface CreatePlayerSessionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreatePlayerSessionsRequest.Builder,CreatePlayerSessionsRequest>, GameLiftRequest.Builder, SdkBuilder<CreatePlayerSessionsRequest.Builder,CreatePlayerSessionsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreatePlayerSessionsRequest

public static interface CreatePlayerSessionsRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<CreatePlayerSessionsRequest.Builder,CreatePlayerSessionsRequest>
  • Method Details

    • gameSessionId

      CreatePlayerSessionsRequest.Builder gameSessionId(String gameSessionId)

      A unique identifier for the game session to add players to.

      Parameters:
      gameSessionId - A unique identifier for the game session to add players to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.
    • playerDataMap

      CreatePlayerSessionsRequest.Builder playerDataMap(Map<String,String> playerDataMap)

      Map of string pairs, each specifying a player ID and a set of developer-defined information related to the player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Any player data strings for player IDs that are not included in the PlayerIds parameter are ignored.

      Parameters:
      playerDataMap - Map of string pairs, each specifying a player ID and a set of developer-defined information related to the player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Any player data strings for player IDs that are not included in the PlayerIds parameter are ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreatePlayerSessionsRequest.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.