CopyableBuilder<GameSessionPlacement.Builder,GameSessionPlacement>
, SdkBuilder<GameSessionPlacement.Builder,GameSessionPlacement>
public static interface GameSessionPlacement.Builder extends CopyableBuilder<GameSessionPlacement.Builder,GameSessionPlacement>
Modifier and Type | Method | Description |
---|---|---|
GameSessionPlacement.Builder |
endTime(Date endTime) |
Time stamp indicating when this request was completed, canceled, or timed out.
|
GameSessionPlacement.Builder |
gameProperties(Collection<GameProperty> gameProperties) |
Set of developer-defined properties for a game session.
|
GameSessionPlacement.Builder |
gameProperties(GameProperty... gameProperties) |
Set of developer-defined properties for a game session.
|
GameSessionPlacement.Builder |
gameSessionArn(String gameSessionArn) |
Identifier for the game session created by this placement request.
|
GameSessionPlacement.Builder |
gameSessionId(String gameSessionId) |
Unique identifier for the game session.
|
GameSessionPlacement.Builder |
gameSessionName(String gameSessionName) |
Descriptive label that is associated with a game session.
|
GameSessionPlacement.Builder |
gameSessionQueueName(String gameSessionQueueName) |
Descriptive label that is associated with 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) |
IP address of the game session.
|
GameSessionPlacement.Builder |
maximumPlayerSessionCount(Integer maximumPlayerSessionCount) |
Maximum number of players that can be connected simultaneously to the game session.
|
GameSessionPlacement.Builder |
placedPlayerSessions(Collection<PlacedPlayerSession> placedPlayerSessions) |
Collection of information on player sessions created in response to the game session placement request.
|
GameSessionPlacement.Builder |
placedPlayerSessions(PlacedPlayerSession... placedPlayerSessions) |
Collection of information on player sessions created in response to the game session placement request.
|
GameSessionPlacement.Builder |
placementId(String placementId) |
Unique identifier for a game session placement.
|
GameSessionPlacement.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.
|
GameSessionPlacement.Builder |
playerLatencies(PlayerLatency... playerLatencies) |
Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when
connected to AWS regions.
|
GameSessionPlacement.Builder |
port(Integer port) |
Port number for the game session.
|
GameSessionPlacement.Builder |
startTime(Date startTime) |
Time stamp indicating when this request was placed in the queue.
|
GameSessionPlacement.Builder |
status(String status) |
Current status of the game session placement request.
|
GameSessionPlacement.Builder |
status(GameSessionPlacementState status) |
Current status of the game session placement request.
|
copy
apply, build
GameSessionPlacement.Builder placementId(String placementId)
Unique identifier for a game session placement.
placementId
- Unique identifier for a game session placement.GameSessionPlacement.Builder gameSessionQueueName(String gameSessionQueueName)
Descriptive label that is associated with queue. Queue names must be unique within each region.
gameSessionQueueName
- Descriptive label that is associated with 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 with a call to StopGameSessionPlacement.
TIMED_OUT – A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
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 with a call to StopGameSessionPlacement.
TIMED_OUT – A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
GameSessionPlacementState
GameSessionPlacement.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 with a call to StopGameSessionPlacement.
TIMED_OUT – A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
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 with a call to StopGameSessionPlacement.
TIMED_OUT – A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
GameSessionPlacementState
GameSessionPlacement.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.GameSessionPlacement.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.GameSessionPlacement.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.GameSessionPlacement.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.GameSessionPlacement.Builder gameSessionId(String gameSessionId)
Unique identifier for the game session. This value is set once the new game session is placed (placement status is Fulfilled).
gameSessionId
- 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)
Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when connected to AWS regions.
playerLatencies
- Set of values, expressed in milliseconds, indicating the amount of latency that players are
experiencing when connected to AWS regions.GameSessionPlacement.Builder playerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players are experiencing when connected to AWS regions.
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.GameSessionPlacement.Builder startTime(Date 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(Date 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)
IP address of the game session. To connect to a Amazon 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
- IP address of the game session. To connect to a Amazon 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 port(Integer port)
Port number for the game session. To connect to a Amazon 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
- Port number for the game session. To connect to a Amazon 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)
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. Retrieve full player sessions by calling DescribePlayerSessions with the player session ID.
placedPlayerSessions
- 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. Retrieve full player sessions by calling
DescribePlayerSessions with the player session ID.GameSessionPlacement.Builder placedPlayerSessions(PlacedPlayerSession... placedPlayerSessions)
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. Retrieve full player sessions by calling DescribePlayerSessions with the player session ID.
NOTE: This method appends the values to the existing list (if any). Use
#setPlacedPlayerSessions(java.util.Collection)
or
#withPlacedPlayerSessions(java.util.Collection)
if you want to override the existing values.
placedPlayerSessions
- 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. Retrieve full player sessions by calling
DescribePlayerSessions with the player session ID.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.