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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatePlayerSessionsRequest.BuildergameSessionId(String gameSessionId)A unique identifier for the game session to add players to.CreatePlayerSessionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePlayerSessionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePlayerSessionsRequest.BuilderplayerDataMap(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.BuilderplayerIds(String... playerIds)List of unique identifiers for the players to be added.CreatePlayerSessionsRequest.BuilderplayerIds(Collection<String> playerIds)List of unique identifiers for the players to be added.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
CreatePlayerSessionsRequest.Builder playerIds(Collection<String> 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
CreatePlayerSessionsRequest.Builder playerIds(String... 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
PlayerIdsparameter 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 thePlayerIdsparameter are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePlayerSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePlayerSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-