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 |
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.
|
CreatePlayerSessionsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreatePlayerSessionsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCreatePlayerSessionsRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreatePlayerSessionsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.