public static interface GameSessionPlacement.Builder extends SdkPojo, CopyableBuilder<GameSessionPlacement.Builder,GameSessionPlacement>
| Modifier and Type | Method and Description |
|---|---|
GameSessionPlacement.Builder |
dnsName(String dnsName)
The DNS identifier assigned to the instance that is running the game session.
|
GameSessionPlacement.Builder |
endTime(Instant endTime)
Time stamp indicating when this request was completed, canceled, or timed out.
|
GameSessionPlacement.Builder |
gameProperties(Collection<GameProperty> gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
GameSessionPlacement.Builder |
gameProperties(Consumer<GameProperty.Builder>... gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
GameSessionPlacement.Builder |
gameProperties(GameProperty... gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
GameSessionPlacement.Builder |
gameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request.
|
GameSessionPlacement.Builder |
gameSessionData(String gameSessionData)
A set of custom game session properties, formatted as a single string value.
|
GameSessionPlacement.Builder |
gameSessionId(String gameSessionId)
A unique identifier for the game session.
|
GameSessionPlacement.Builder |
gameSessionName(String gameSessionName)
A descriptive label that is associated with a game session.
|
GameSessionPlacement.Builder |
gameSessionQueueName(String gameSessionQueueName)
A descriptive label that is associated with game session queue.
|
GameSessionPlacement.Builder |
gameSessionRegion(String gameSessionRegion)
Name of the Region where the game session created by this placement request is running.
|
GameSessionPlacement.Builder |
ipAddress(String ipAddress)
The IP address of the game session.
|
GameSessionPlacement.Builder |
matchmakerData(String matchmakerData)
Information on the matchmaking process for this game.
|
GameSessionPlacement.Builder |
maximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players that can be connected simultaneously to the game session.
|
GameSessionPlacement.Builder |
placedPlayerSessions(Collection<PlacedPlayerSession> placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
|
GameSessionPlacement.Builder |
placedPlayerSessions(Consumer<PlacedPlayerSession.Builder>... placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
|
GameSessionPlacement.Builder |
placedPlayerSessions(PlacedPlayerSession... placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
|
GameSessionPlacement.Builder |
placementId(String placementId)
A unique identifier for a game session placement.
|
GameSessionPlacement.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.
|
GameSessionPlacement.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.
|
GameSessionPlacement.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.
|
GameSessionPlacement.Builder |
port(Integer port)
The port number for the game session.
|
GameSessionPlacement.Builder |
startTime(Instant startTime)
Time stamp indicating when this request was placed in the queue.
|
GameSessionPlacement.Builder |
status(GameSessionPlacementState status)
Current status of the game session placement request.
|
GameSessionPlacement.Builder |
status(String status)
Current status of the game session placement request.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGameSessionPlacement.Builder placementId(String placementId)
A unique identifier for a game session placement.
placementId - A unique identifier for a game session placement.GameSessionPlacement.Builder gameSessionQueueName(String gameSessionQueueName)
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
gameSessionQueueName - A descriptive label that is associated with game session queue. Queue names must be unique within each
Region.GameSessionPlacement.Builder status(String status)
Current status of the game session placement request.
PENDING -- The placement request is currently in the queue waiting to be processed.
FULFILLED -- A new game session and player sessions (if requested) have been successfully created. Values for GameSessionArn and GameSessionRegion are available.
CANCELLED -- The placement request was canceled.
TIMED_OUT -- A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
FAILED -- GameLift is not able to complete the process of placing the game session. Common reasons are the game session terminated before the placement process was completed, or an unexpected internal error.
status - Current status of the game session placement request.
PENDING -- The placement request is currently in the queue waiting to be processed.
FULFILLED -- A new game session and player sessions (if requested) have been successfully created. Values for GameSessionArn and GameSessionRegion are available.
CANCELLED -- The placement request was canceled.
TIMED_OUT -- A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
FAILED -- GameLift is not able to complete the process of placing the game session. Common reasons are the game session terminated before the placement process was completed, or an unexpected internal error.
GameSessionPlacementState,
GameSessionPlacementStateGameSessionPlacement.Builder status(GameSessionPlacementState status)
Current status of the game session placement request.
PENDING -- The placement request is currently in the queue waiting to be processed.
FULFILLED -- A new game session and player sessions (if requested) have been successfully created. Values for GameSessionArn and GameSessionRegion are available.
CANCELLED -- The placement request was canceled.
TIMED_OUT -- A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
FAILED -- GameLift is not able to complete the process of placing the game session. Common reasons are the game session terminated before the placement process was completed, or an unexpected internal error.
status - Current status of the game session placement request.
PENDING -- The placement request is currently in the queue waiting to be processed.
FULFILLED -- A new game session and player sessions (if requested) have been successfully created. Values for GameSessionArn and GameSessionRegion are available.
CANCELLED -- The placement request was canceled.
TIMED_OUT -- A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
FAILED -- GameLift is not able to complete the process of placing the game session. Common reasons are the game session terminated before the placement process was completed, or an unexpected internal error.
GameSessionPlacementState,
GameSessionPlacementStateGameSessionPlacement.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).GameSessionPlacement.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).GameSessionPlacement.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) GameSessionPlacement.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.GameSessionPlacement.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.GameSessionPlacement.Builder gameSessionId(String gameSessionId)
A unique identifier for the game session. This value is set once the new game session is placed (placement
status is FULFILLED).
gameSessionId - A unique identifier for the game session. This value is set once the new game session is placed
(placement status is FULFILLED).GameSessionPlacement.Builder gameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request. This value is set once the new game
session is placed (placement status is FULFILLED). This identifier is unique across all Regions.
You can use this value as a GameSessionId value as needed.
gameSessionArn - Identifier for the game session created by this placement request. This value is set once the new game
session is placed (placement status is FULFILLED). This identifier is unique across all
Regions. You can use this value as a GameSessionId value as needed.GameSessionPlacement.Builder gameSessionRegion(String gameSessionRegion)
Name of the Region where the game session created by this placement request is running. This value is set
once the new game session is placed (placement status is FULFILLED).
gameSessionRegion - Name of the Region where the game session created by this placement request is running. This value is
set once the new game session is placed (placement status is FULFILLED).GameSessionPlacement.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.
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.GameSessionPlacement.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.
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.GameSessionPlacement.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 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) GameSessionPlacement.Builder startTime(Instant startTime)
Time stamp indicating when this request was placed in the queue. Format is a number expressed in Unix time as
milliseconds (for example "1469498468.057").
startTime - Time stamp indicating when this request was placed in the queue. Format is a number expressed in Unix
time as milliseconds (for example "1469498468.057").GameSessionPlacement.Builder endTime(Instant endTime)
Time stamp indicating when this request was completed, canceled, or timed out.
endTime - Time stamp indicating when this request was completed, canceled, or timed out.GameSessionPlacement.Builder ipAddress(String ipAddress)
The IP address of the game session. To connect to a GameLift game server, an app needs both the IP address
and port number. This value is set once the new game session is placed (placement status is
FULFILLED).
ipAddress - The IP address of the game session. To connect to a GameLift game server, an app needs both the IP
address and port number. This value is set once the new game session is placed (placement status is
FULFILLED).GameSessionPlacement.Builder dnsName(String dnsName)
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
TLS-enabled fleets: <unique identifier>.<region identifier>.amazongamelift.com.
Non-TLS-enabled fleets: ec2-<unique identifier>.compute.amazonaws.com. (See Amazon EC2 Instance IP Addressing.)
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
dnsName - The DNS identifier assigned to the instance that is running the game session. Values have the
following format:
TLS-enabled fleets:
<unique identifier>.<region identifier>.amazongamelift.com.
Non-TLS-enabled fleets: ec2-<unique identifier>.compute.amazonaws.com. (See Amazon EC2 Instance IP Addressing.)
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
GameSessionPlacement.Builder port(Integer port)
The port number for the game session. To connect to a GameLift game server, an app needs both the IP address
and port number. This value is set once the new game session is placed (placement status is
FULFILLED).
port - The port number for the game session. To connect to a GameLift game server, an app needs both the IP
address and port number. This value is set once the new game session is placed (placement status is
FULFILLED).GameSessionPlacement.Builder placedPlayerSessions(Collection<PlacedPlayerSession> placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
These player sessions are created only once a new game session is successfully placed (placement status is
FULFILLED). This information includes the player ID (as provided in the placement request) and
the corresponding player session ID.
placedPlayerSessions - A collection of information on player sessions created in response to the game session placement
request. These player sessions are created only once a new game session is successfully placed
(placement status is FULFILLED). This information includes the player ID (as provided in
the placement request) and the corresponding player session ID.GameSessionPlacement.Builder placedPlayerSessions(PlacedPlayerSession... placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
These player sessions are created only once a new game session is successfully placed (placement status is
FULFILLED). This information includes the player ID (as provided in the placement request) and
the corresponding player session ID.
placedPlayerSessions - A collection of information on player sessions created in response to the game session placement
request. These player sessions are created only once a new game session is successfully placed
(placement status is FULFILLED). This information includes the player ID (as provided in
the placement request) and the corresponding player session ID.GameSessionPlacement.Builder placedPlayerSessions(Consumer<PlacedPlayerSession.Builder>... placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
These player sessions are created only once a new game session is successfully placed (placement status is
FULFILLED). This information includes the player ID (as provided in the placement request) and
the corresponding player session ID.
PlacedPlayerSession.Builder avoiding the need to
create one manually via PlacedPlayerSession.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #placedPlayerSessions(List.
placedPlayerSessions - a consumer that will call methods on
PlacedPlayerSession.Builder#placedPlayerSessions(java.util.Collection) GameSessionPlacement.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).GameSessionPlacement.Builder matchmakerData(String matchmakerData)
Information on the matchmaking process for this game. Data is in JSON syntax, formatted as a string. It identifies the matchmaking configuration used to create the match, and contains data on all players assigned to the match, including player attributes and team assignments. For more details on matchmaker data, see Match Data.
matchmakerData - Information on the matchmaking process for this game. Data is in JSON syntax, formatted as a string.
It identifies the matchmaking configuration used to create the match, and contains data on all players
assigned to the match, including player attributes and team assignments. For more details on
matchmaker data, see Match
Data.Copyright © 2023. All rights reserved.