public static interface StartGameSessionPlacementRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<StartGameSessionPlacementRequest.Builder,StartGameSessionPlacementRequest>
| Modifier and Type | Method and Description |
|---|---|
StartGameSessionPlacementRequest.Builder |
desiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)
Set of information on each player to create a player session for.
|
StartGameSessionPlacementRequest.Builder |
desiredPlayerSessions(Consumer<DesiredPlayerSession.Builder>... 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)
A set of custom properties for a game session, formatted as key:value pairs.
|
StartGameSessionPlacementRequest.Builder |
gameProperties(Consumer<GameProperty.Builder>... gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
StartGameSessionPlacementRequest.Builder |
gameProperties(GameProperty... gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
StartGameSessionPlacementRequest.Builder |
gameSessionData(String gameSessionData)
A set of custom game session properties, formatted as a single string value.
|
StartGameSessionPlacementRequest.Builder |
gameSessionName(String gameSessionName)
A 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)
The maximum number of players that can be connected simultaneously to the game session.
|
StartGameSessionPlacementRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartGameSessionPlacementRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartGameSessionPlacementRequest.Builder |
placementId(String placementId)
A unique identifier to assign to the new game session placement.
|
StartGameSessionPlacementRequest.Builder |
playerLatencies(Collection<PlayerLatency> playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to Amazon Web Services Regions.
|
StartGameSessionPlacementRequest.Builder |
playerLatencies(Consumer<PlayerLatency.Builder>... playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to Amazon Web Services Regions.
|
StartGameSessionPlacementRequest.Builder |
playerLatencies(PlayerLatency... playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to Amazon Web Services Regions.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartGameSessionPlacementRequest.Builder placementId(String placementId)
A 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.
placementId - A 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.StartGameSessionPlacementRequest.Builder gameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session. You can use either the queue name or ARN value.
gameSessionQueueName - Name of the queue to use to place the new game session. You can use either the queue name or ARN
value.StartGameSessionPlacementRequest.Builder gameProperties(Collection<GameProperty> gameProperties)
A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see Start a Game Session).
gameProperties - A set of custom properties for a game session, formatted as key:value pairs. These properties are
passed to a game server process with a request to start a new game session (see Start a Game Session).StartGameSessionPlacementRequest.Builder gameProperties(GameProperty... gameProperties)
A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see Start a Game Session).
gameProperties - A set of custom properties for a game session, formatted as key:value pairs. These properties are
passed to a game server process with a request to start a new game session (see Start a Game Session).StartGameSessionPlacementRequest.Builder gameProperties(Consumer<GameProperty.Builder>... gameProperties)
A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see Start a Game Session).
This is a convenience method that creates an instance of theGameProperty.Builder avoiding the need to create one
manually via GameProperty.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #gameProperties(List.
gameProperties - a consumer that will call methods on
GameProperty.Builder#gameProperties(java.util.Collection) StartGameSessionPlacementRequest.Builder maximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players that can be connected simultaneously to the game session.
maximumPlayerSessionCount - The maximum number of players that can be connected simultaneously to the game session.StartGameSessionPlacementRequest.Builder gameSessionName(String gameSessionName)
A descriptive label that is associated with a game session. Session names do not need to be unique.
gameSessionName - A descriptive label that is associated with a game session. Session names do not need to be unique.StartGameSessionPlacementRequest.Builder playerLatencies(Collection<PlayerLatency> playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services 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 - A set of values, expressed in milliseconds, that indicates the amount of latency that a player
experiences when connected to Amazon Web Services 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)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services 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 - A set of values, expressed in milliseconds, that indicates the amount of latency that a player
experiences when connected to Amazon Web Services 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(Consumer<PlayerLatency.Builder>... playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services 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.
This is a convenience method that creates an instance of thePlayerLatency.Builder avoiding the need to create one
manually via PlayerLatency.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #playerLatencies(List.
playerLatencies - a consumer that will call methods on
PlayerLatency.Builder#playerLatencies(java.util.Collection) 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.
desiredPlayerSessions - Set of information on each player to create a player session for.StartGameSessionPlacementRequest.Builder desiredPlayerSessions(Consumer<DesiredPlayerSession.Builder>... desiredPlayerSessions)
Set of information on each player to create a player session for.
This is a convenience method that creates an instance of theDesiredPlayerSession.Builder avoiding the need to
create one manually via DesiredPlayerSession.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #desiredPlayerSessions(List.
desiredPlayerSessions - a consumer that will call methods on
DesiredPlayerSession.Builder#desiredPlayerSessions(java.util.Collection) StartGameSessionPlacementRequest.Builder gameSessionData(String gameSessionData)
A set of custom game session properties, formatted as a single string value. This data is passed to a game
server process in the GameSession object with a request to start a new game session (see Start a Game Session).
gameSessionData - A set of custom game session properties, formatted as a single string value. This data is passed to a
game server process in the GameSession object with a request to start a new game session
(see Start a Game Session).StartGameSessionPlacementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartGameSessionPlacementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.