CopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>
, SdkBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>
public static interface StartGameSessionPlacementRequest.Builder extends CopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>
Modifier and Type | Method | Description |
---|---|---|
StartGameSessionPlacementRequest.Builder |
desiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions) |
Set of information on each player to create a player session for.
|
StartGameSessionPlacementRequest.Builder |
desiredPlayerSessions(DesiredPlayerSession... desiredPlayerSessions) |
Set of information on each player to create a player session for.
|
StartGameSessionPlacementRequest.Builder |
gameProperties(Collection<GameProperty> gameProperties) |
Set of developer-defined properties for a game session.
|
StartGameSessionPlacementRequest.Builder |
gameProperties(GameProperty... gameProperties) |
Set of developer-defined properties for a game session.
|
StartGameSessionPlacementRequest.Builder |
gameSessionName(String gameSessionName) |
Descriptive label that is associated with a game session.
|
StartGameSessionPlacementRequest.Builder |
gameSessionQueueName(String gameSessionQueueName) |
Name of the queue to use to place the new game session.
|
StartGameSessionPlacementRequest.Builder |
maximumPlayerSessionCount(Integer maximumPlayerSessionCount) |
Maximum number of players that can be connected simultaneously to the game session.
|
StartGameSessionPlacementRequest.Builder |
placementId(String placementId) |
Unique identifier to assign to the new game session placement.
|
StartGameSessionPlacementRequest.Builder |
playerLatencies(Collection<PlayerLatency> playerLatencies) |
Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when
connected to AWS regions.
|
StartGameSessionPlacementRequest.Builder |
playerLatencies(PlayerLatency... playerLatencies) |
Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when
connected to AWS regions.
|
copy
apply, build
StartGameSessionPlacementRequest.Builder placementId(String placementId)
Unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all regions and cannot be reused unless you are resubmitting a canceled or timed-out placement request.
placementId
- Unique identifier to assign to the new game session placement. This value is developer-defined. The
value must be unique across all regions and cannot be reused unless you are resubmitting a canceled or
timed-out placement request.StartGameSessionPlacementRequest.Builder gameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session.
gameSessionQueueName
- Name of the queue to use to place the new game session.StartGameSessionPlacementRequest.Builder gameProperties(Collection<GameProperty> gameProperties)
Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session.
gameProperties
- Set of developer-defined properties for a game session. These properties are passed to the server
process hosting the game session.StartGameSessionPlacementRequest.Builder gameProperties(GameProperty... gameProperties)
Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session.
NOTE: This method appends the values to the existing list (if any). Use
#setGameProperties(java.util.Collection)
or #withGameProperties(java.util.Collection)
if you
want to override the existing values.
gameProperties
- Set of developer-defined properties for a game session. These properties are passed to the server
process hosting the game session.StartGameSessionPlacementRequest.Builder maximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
maximumPlayerSessionCount
- Maximum number of players that can be connected simultaneously to the game session.StartGameSessionPlacementRequest.Builder gameSessionName(String gameSessionName)
Descriptive label that is associated with a game session. Session names do not need to be unique.
gameSessionName
- Descriptive label that is associated with a game session. Session names do not need to be unique.StartGameSessionPlacementRequest.Builder playerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when connected to AWS regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.
playerLatencies
- Set of values, expressed in milliseconds, indicating the amount of latency that players are
experiencing when connected to AWS regions. This information is used to try to place the new game
session where it can offer the best possible gameplay experience for the players.StartGameSessionPlacementRequest.Builder playerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when connected to AWS regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.
NOTE: This method appends the values to the existing list (if any). Use
#setPlayerLatencies(java.util.Collection)
or #withPlayerLatencies(java.util.Collection)
if
you want to override the existing values.
playerLatencies
- Set of values, expressed in milliseconds, indicating the amount of latency that players are
experiencing when connected to AWS regions. This information is used to try to place the new game
session where it can offer the best possible gameplay experience for the players.StartGameSessionPlacementRequest.Builder desiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)
Set of information on each player to create a player session for.
desiredPlayerSessions
- Set of information on each player to create a player session for.StartGameSessionPlacementRequest.Builder desiredPlayerSessions(DesiredPlayerSession... desiredPlayerSessions)
Set of information on each player to create a player session for.
NOTE: This method appends the values to the existing list (if any). Use
#setDesiredPlayerSessions(java.util.Collection)
or
#withDesiredPlayerSessions(java.util.Collection)
if you want to override the existing values.
desiredPlayerSessions
- Set of information on each player to create a player session for.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.