@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GameSessionPlacement extends Object implements Serializable, Cloneable, StructuredPojo
Object that describes a StartGameSessionPlacement request. This object includes the full details of the original request plus the current status and start/end time stamps.
Game session placement-related operations include:
Constructor and Description |
---|
GameSessionPlacement() |
Modifier and Type | Method and Description |
---|---|
GameSessionPlacement |
clone() |
boolean |
equals(Object obj) |
String |
getDnsName()
The DNS identifier assigned to the instance that is running the game session.
|
Date |
getEndTime()
Time stamp indicating when this request was completed, canceled, or timed out.
|
List<GameProperty> |
getGameProperties()
A set of custom properties for a game session, formatted as key:value pairs.
|
String |
getGameSessionArn()
Identifier for the game session created by this placement request.
|
String |
getGameSessionData()
A set of custom game session properties, formatted as a single string value.
|
String |
getGameSessionId()
A unique identifier for the game session.
|
String |
getGameSessionName()
A descriptive label that is associated with a game session.
|
String |
getGameSessionQueueName()
A descriptive label that is associated with game session queue.
|
String |
getGameSessionRegion()
Name of the Region where the game session created by this placement request is running.
|
String |
getIpAddress()
The IP address of the game session.
|
String |
getMatchmakerData()
Information on the matchmaking process for this game.
|
Integer |
getMaximumPlayerSessionCount()
The maximum number of players that can be connected simultaneously to the game session.
|
List<PlacedPlayerSession> |
getPlacedPlayerSessions()
A collection of information on player sessions created in response to the game session placement request.
|
String |
getPlacementId()
A unique identifier for a game session placement.
|
List<PlayerLatency> |
getPlayerLatencies()
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to AWS Regions.
|
Integer |
getPort()
The port number for the game session.
|
Date |
getStartTime()
Time stamp indicating when this request was placed in the queue.
|
String |
getStatus()
Current status of the game session placement request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDnsName(String dnsName)
The DNS identifier assigned to the instance that is running the game session.
|
void |
setEndTime(Date endTime)
Time stamp indicating when this request was completed, canceled, or timed out.
|
void |
setGameProperties(Collection<GameProperty> gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
void |
setGameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request.
|
void |
setGameSessionData(String gameSessionData)
A set of custom game session properties, formatted as a single string value.
|
void |
setGameSessionId(String gameSessionId)
A unique identifier for the game session.
|
void |
setGameSessionName(String gameSessionName)
A descriptive label that is associated with a game session.
|
void |
setGameSessionQueueName(String gameSessionQueueName)
A descriptive label that is associated with game session queue.
|
void |
setGameSessionRegion(String gameSessionRegion)
Name of the Region where the game session created by this placement request is running.
|
void |
setIpAddress(String ipAddress)
The IP address of the game session.
|
void |
setMatchmakerData(String matchmakerData)
Information on the matchmaking process for this game.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players that can be connected simultaneously to the game session.
|
void |
setPlacedPlayerSessions(Collection<PlacedPlayerSession> placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
|
void |
setPlacementId(String placementId)
A unique identifier for a game session placement.
|
void |
setPlayerLatencies(Collection<PlayerLatency> playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to AWS Regions.
|
void |
setPort(Integer port)
The port number for the game session.
|
void |
setStartTime(Date startTime)
Time stamp indicating when this request was placed in the queue.
|
void |
setStatus(GameSessionPlacementState status)
Current status of the game session placement request.
|
void |
setStatus(String status)
Current status of the game session placement request.
|
String |
toString()
Returns a string representation of this object.
|
GameSessionPlacement |
withDnsName(String dnsName)
The DNS identifier assigned to the instance that is running the game session.
|
GameSessionPlacement |
withEndTime(Date endTime)
Time stamp indicating when this request was completed, canceled, or timed out.
|
GameSessionPlacement |
withGameProperties(Collection<GameProperty> gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
GameSessionPlacement |
withGameProperties(GameProperty... gameProperties)
A set of custom properties for a game session, formatted as key:value pairs.
|
GameSessionPlacement |
withGameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request.
|
GameSessionPlacement |
withGameSessionData(String gameSessionData)
A set of custom game session properties, formatted as a single string value.
|
GameSessionPlacement |
withGameSessionId(String gameSessionId)
A unique identifier for the game session.
|
GameSessionPlacement |
withGameSessionName(String gameSessionName)
A descriptive label that is associated with a game session.
|
GameSessionPlacement |
withGameSessionQueueName(String gameSessionQueueName)
A descriptive label that is associated with game session queue.
|
GameSessionPlacement |
withGameSessionRegion(String gameSessionRegion)
Name of the Region where the game session created by this placement request is running.
|
GameSessionPlacement |
withIpAddress(String ipAddress)
The IP address of the game session.
|
GameSessionPlacement |
withMatchmakerData(String matchmakerData)
Information on the matchmaking process for this game.
|
GameSessionPlacement |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
The maximum number of players that can be connected simultaneously to the game session.
|
GameSessionPlacement |
withPlacedPlayerSessions(Collection<PlacedPlayerSession> placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
|
GameSessionPlacement |
withPlacedPlayerSessions(PlacedPlayerSession... placedPlayerSessions)
A collection of information on player sessions created in response to the game session placement request.
|
GameSessionPlacement |
withPlacementId(String placementId)
A unique identifier for a game session placement.
|
GameSessionPlacement |
withPlayerLatencies(Collection<PlayerLatency> playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to AWS Regions.
|
GameSessionPlacement |
withPlayerLatencies(PlayerLatency... playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to AWS Regions.
|
GameSessionPlacement |
withPort(Integer port)
The port number for the game session.
|
GameSessionPlacement |
withStartTime(Date startTime)
Time stamp indicating when this request was placed in the queue.
|
GameSessionPlacement |
withStatus(GameSessionPlacementState status)
Current status of the game session placement request.
|
GameSessionPlacement |
withStatus(String status)
Current status of the game session placement request.
|
public void setPlacementId(String placementId)
A unique identifier for a game session placement.
placementId
- A unique identifier for a game session placement.public String getPlacementId()
A unique identifier for a game session placement.
public GameSessionPlacement withPlacementId(String placementId)
A unique identifier for a game session placement.
placementId
- A unique identifier for a game session placement.public void setGameSessionQueueName(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.public String getGameSessionQueueName()
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
public GameSessionPlacement withGameSessionQueueName(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.public void setStatus(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.
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 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.
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
public String getStatus()
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.
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.
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.
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
public GameSessionPlacement withStatus(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.
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 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.
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
public void setStatus(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.
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 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.
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
public GameSessionPlacement withStatus(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.
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 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.
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
public List<GameProperty> getGameProperties()
A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session).
public void setGameProperties(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 in the GameSession object 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 in the GameSession object with a request to start a new game session (see
Start a Game Session).public GameSessionPlacement withGameProperties(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 in the GameSession object with a request to start a new game session (see Start a 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
- A set of custom properties for a game session, formatted as key:value pairs. These properties are passed
to a game server process in the GameSession object with a request to start a new game session (see
Start a Game Session).public GameSessionPlacement withGameProperties(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 in the GameSession object 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 in the GameSession object with a request to start a new game session (see
Start a Game Session).public void setMaximumPlayerSessionCount(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.public Integer getMaximumPlayerSessionCount()
The maximum number of players that can be connected simultaneously to the game session.
public GameSessionPlacement withMaximumPlayerSessionCount(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.public void setGameSessionName(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.public String getGameSessionName()
A descriptive label that is associated with a game session. Session names do not need to be unique.
public GameSessionPlacement withGameSessionName(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.public void setGameSessionId(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
).public String getGameSessionId()
A unique identifier for the game session. This value is set once the new game session is placed (placement status
is FULFILLED
).
FULFILLED
).public GameSessionPlacement withGameSessionId(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
).public void setGameSessionArn(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.public String getGameSessionArn()
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.
FULFILLED
). This identifier is unique across all
Regions. You can use this value as a GameSessionId
value as needed.public GameSessionPlacement withGameSessionArn(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.public void setGameSessionRegion(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
).public String getGameSessionRegion()
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
).
FULFILLED
).public GameSessionPlacement withGameSessionRegion(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
).public List<PlayerLatency> getPlayerLatencies()
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to AWS Regions.
public void setPlayerLatencies(Collection<PlayerLatency> playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to AWS Regions.
playerLatencies
- A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to AWS Regions.public GameSessionPlacement withPlayerLatencies(PlayerLatency... playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences 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
- A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to AWS Regions.public GameSessionPlacement withPlayerLatencies(Collection<PlayerLatency> playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to AWS Regions.
playerLatencies
- A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to AWS Regions.public void setStartTime(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"
).public Date getStartTime()
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"
).
"1469498468.057"
).public GameSessionPlacement withStartTime(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"
).public void setEndTime(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.public Date getEndTime()
Time stamp indicating when this request was completed, canceled, or timed out.
public GameSessionPlacement withEndTime(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.public void setIpAddress(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
).public String getIpAddress()
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
).
FULFILLED
).public GameSessionPlacement withIpAddress(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
).public void setDnsName(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.
public String getDnsName()
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.
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.
public GameSessionPlacement withDnsName(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.
public void setPort(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
).public Integer getPort()
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
).
FULFILLED
).public GameSessionPlacement withPort(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
).public List<PlacedPlayerSession> getPlacedPlayerSessions()
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. Retrieve full player sessions by calling DescribePlayerSessions with the
player session ID.
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.public void setPlacedPlayerSessions(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. Retrieve full player sessions by calling DescribePlayerSessions with the
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. Retrieve full player sessions by calling
DescribePlayerSessions with the player session ID.public GameSessionPlacement withPlacedPlayerSessions(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. 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
- 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. Retrieve full player sessions by calling
DescribePlayerSessions with the player session ID.public GameSessionPlacement withPlacedPlayerSessions(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. Retrieve full player sessions by calling DescribePlayerSessions with the
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. Retrieve full player sessions by calling
DescribePlayerSessions with the player session ID.public void setGameSessionData(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).public String getGameSessionData()
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).
public GameSessionPlacement withGameSessionData(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).public void setMatchmakerData(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.public String getMatchmakerData()
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.
public GameSessionPlacement withMatchmakerData(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.public String toString()
toString
in class Object
Object.toString()
public GameSessionPlacement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.