public static interface StartGameSessionPlacementRequest.Builder extends GameLiftRequest.Builder, 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)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs.
|
StartGameSessionPlacementRequest.Builder |
gameProperties(Consumer<GameProperty.Builder>... gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs.
|
StartGameSessionPlacementRequest.Builder |
gameProperties(GameProperty... gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs.
|
StartGameSessionPlacementRequest.Builder |
gameSessionData(String gameSessionData)
Set of developer-defined game session properties, formatted as a single string value.
|
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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartGameSessionPlacementRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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 a player experiences when
connected to AWS regions.
|
StartGameSessionPlacementRequest.Builder |
playerLatencies(Consumer<PlayerLatency.Builder>... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when
connected to AWS regions.
|
StartGameSessionPlacementRequest.Builder |
playerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when
connected to AWS regions.
|
build
overrideConfiguration
copy
applyMutation, 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, formatted as a set of type:value pairs. These properties are included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
gameProperties
- Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These
properties are included in the GameSession object, which is passed to the game server with a
request to start a new game session (see Start a Game Session).StartGameSessionPlacementRequest.Builder gameProperties(GameProperty... gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These properties are included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
gameProperties
- Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These
properties are included in the GameSession object, which is passed to the game server with a
request to start a new game session (see Start a Game Session).StartGameSessionPlacementRequest.Builder gameProperties(Consumer<GameProperty.Builder>... gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These properties are included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #gameProperties(List)
.gameProperties
- a consumer that will call methods on List.Builder
#gameProperties(List)
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 a player experiences 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 a player experiences
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 a player experiences 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 a player experiences
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(Consumer<PlayerLatency.Builder>... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #playerLatencies(List)
.playerLatencies
- a consumer that will call methods on List.Builder
#playerLatencies(List)
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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #desiredPlayerSessions(List)
.desiredPlayerSessions
- a consumer that will call methods on List.Builder
#desiredPlayerSessions(List)
StartGameSessionPlacementRequest.Builder gameSessionData(String gameSessionData)
Set of developer-defined game session properties, formatted as a single string value. This data is included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
gameSessionData
- Set of developer-defined game session properties, formatted as a single string value. This data is
included in the GameSession object, which is passed to the game server with a request to start
a new game session (see Start a Game Session).StartGameSessionPlacementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartGameSessionPlacementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.