public static interface CreatePlayerSessionsRequest.Builder extends GameLiftRequest.Builder, CopyableBuilder<CreatePlayerSessionsRequest.Builder,CreatePlayerSessionsRequest>
Modifier and Type | Method and Description |
---|---|
CreatePlayerSessionsRequest.Builder |
gameSessionId(String gameSessionId)
Unique identifier for the game session to add players to.
|
CreatePlayerSessionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreatePlayerSessionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
CreatePlayerSessionsRequest.Builder |
playerIds(Collection<String> playerIds)
List of unique identifiers for the players to be added.
|
CreatePlayerSessionsRequest.Builder |
playerIds(String... playerIds)
List of unique identifiers for the players to be added.
|
build
overrideConfiguration
copy
applyMutation, build
CreatePlayerSessionsRequest.Builder gameSessionId(String gameSessionId)
Unique identifier for the game session to add players to.
gameSessionId
- Unique identifier for the game session to add players to.CreatePlayerSessionsRequest.Builder playerIds(Collection<String> playerIds)
List of unique identifiers for the players to be added.
playerIds
- List of unique identifiers for the players to be added.CreatePlayerSessionsRequest.Builder playerIds(String... playerIds)
List of unique identifiers for the players to be added.
playerIds
- List of unique identifiers for the players to be added.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. Player
data strings for player IDs not included in the PlayerIds
parameter are ignored.
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. Player data strings for player IDs not included in the PlayerIds
parameter are
ignored.CreatePlayerSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreatePlayerSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.