Interface CreatePlayerSessionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePlayerSessionsRequest.Builder,,CreatePlayerSessionsRequest> GameLiftRequest.Builder,SdkBuilder<CreatePlayerSessionsRequest.Builder,,CreatePlayerSessionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePlayerSessionsRequest
@Mutable
@NotThreadSafe
public static interface CreatePlayerSessionsRequest.Builder
extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<CreatePlayerSessionsRequest.Builder,CreatePlayerSessionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiongameSessionId(String gameSessionId) An identifier for the game session that is unique across all regions 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gameSessionId
An identifier for the game session that is unique across all regions to add players to. The value is always a full ARN in the following format:
arn:aws:gamelift:<location>::gamesession/<fleet ID>/<ID string>.- Parameters:
gameSessionId- An identifier for the game session that is unique across all regions to add players to. The value is always a full ARN in the following format:arn:aws:gamelift:<location>::gamesession/<fleet ID>/<ID string>.- 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 Servers 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 Servers 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-