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
Modifier and TypeMethodDescriptiongameSessionId
(String gameSessionId) A unique identifier for the game session to add players to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.List of unique identifiers for the players to be added.playerIds
(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 Details
-
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
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 thePlayerIds
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePlayerSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-