@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) |
Date |
getEndTime()
Time stamp indicating when this request was completed, cancelled, or timed out.
|
List<GameProperty> |
getGameProperties()
Set of developer-defined properties for a game session.
|
String |
getGameSessionArn()
Identifier for the game session created by this placement request.
|
String |
getGameSessionName()
Descriptive label that is associated with a game session.
|
String |
getGameSessionQueueName()
Descriptive label that is associated with queue.
|
String |
getGameSessionRegion()
Name of the region where the game session created by this placement request is running.
|
Integer |
getMaximumPlayerSessionCount()
Maximum number of players that can be connected simultaneously to the game session.
|
String |
getPlacementId()
Unique identifier for a game session placement.
|
List<PlayerLatency> |
getPlayerLatencies()
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected
to AWS regions.
|
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) |
void |
setEndTime(Date endTime)
Time stamp indicating when this request was completed, cancelled, or timed out.
|
void |
setGameProperties(Collection<GameProperty> gameProperties)
Set of developer-defined properties for a game session.
|
void |
setGameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request.
|
void |
setGameSessionName(String gameSessionName)
Descriptive label that is associated with a game session.
|
void |
setGameSessionQueueName(String gameSessionQueueName)
Descriptive label that is associated with queue.
|
void |
setGameSessionRegion(String gameSessionRegion)
Name of the region where the game session created by this placement request is running.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
|
void |
setPlacementId(String placementId)
Unique identifier for a game session placement.
|
void |
setPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected
to AWS regions.
|
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; useful for testing and debugging.
|
GameSessionPlacement |
withEndTime(Date endTime)
Time stamp indicating when this request was completed, cancelled, or timed out.
|
GameSessionPlacement |
withGameProperties(Collection<GameProperty> gameProperties)
Set of developer-defined properties for a game session.
|
GameSessionPlacement |
withGameProperties(GameProperty... gameProperties)
Set of developer-defined properties for a game session.
|
GameSessionPlacement |
withGameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request.
|
GameSessionPlacement |
withGameSessionName(String gameSessionName)
Descriptive label that is associated with a game session.
|
GameSessionPlacement |
withGameSessionQueueName(String gameSessionQueueName)
Descriptive label that is associated with queue.
|
GameSessionPlacement |
withGameSessionRegion(String gameSessionRegion)
Name of the region where the game session created by this placement request is running.
|
GameSessionPlacement |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
|
GameSessionPlacement |
withPlacementId(String placementId)
Unique identifier for a game session placement.
|
GameSessionPlacement |
withPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected
to AWS regions.
|
GameSessionPlacement |
withPlayerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected
to AWS regions.
|
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)
Unique identifier for a game session placement.
placementId - Unique identifier for a game session placement.public String getPlacementId()
Unique identifier for a game session placement.
public GameSessionPlacement withPlacementId(String placementId)
Unique identifier for a game session placement.
placementId - Unique identifier for a game session placement.public void setGameSessionQueueName(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.public String getGameSessionQueueName()
Descriptive label that is associated with queue. Queue names must be unique within each region.
public GameSessionPlacement withGameSessionQueueName(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.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 cancelled 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 cancelled 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.
GameSessionPlacementStatepublic 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 cancelled 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.
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 cancelled 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.
GameSessionPlacementStatepublic 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 cancelled 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 cancelled 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.
GameSessionPlacementStatepublic 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 cancelled 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 cancelled 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.
GameSessionPlacementStatepublic 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 cancelled 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 cancelled 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.
GameSessionPlacementStatepublic List<GameProperty> getGameProperties()
Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session.
public void setGameProperties(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.public GameSessionPlacement withGameProperties(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.public GameSessionPlacement withGameProperties(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.public void setMaximumPlayerSessionCount(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.public Integer getMaximumPlayerSessionCount()
Maximum number of players that can be connected simultaneously to the game session.
public GameSessionPlacement withMaximumPlayerSessionCount(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.public void setGameSessionName(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.public String getGameSessionName()
Descriptive label that is associated with a game session. Session names do not need to be unique.
public GameSessionPlacement withGameSessionName(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.public void setGameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request. This value exists only if the game session placement status is Completed. This identifier is unique across all regions.
gameSessionArn - Identifier for the game session created by this placement request. This value exists only if the game
session placement status is Completed. This identifier is unique across all regions.public String getGameSessionArn()
Identifier for the game session created by this placement request. This value exists only if the game session placement status is Completed. This identifier is unique across all regions.
public GameSessionPlacement withGameSessionArn(String gameSessionArn)
Identifier for the game session created by this placement request. This value exists only if the game session placement status is Completed. This identifier is unique across all regions.
gameSessionArn - Identifier for the game session created by this placement request. This value exists only if the game
session placement status is Completed. This identifier is unique across all regions.public void setGameSessionRegion(String gameSessionRegion)
Name of the region where the game session created by this placement request is running. This value exists only if the game session placement status is Completed.
gameSessionRegion - Name of the region where the game session created by this placement request is running. This value exists
only if the game session placement status is Completed.public String getGameSessionRegion()
Name of the region where the game session created by this placement request is running. This value exists only if the game session placement status is Completed.
public GameSessionPlacement withGameSessionRegion(String gameSessionRegion)
Name of the region where the game session created by this placement request is running. This value exists only if the game session placement status is Completed.
gameSessionRegion - Name of the region where the game session created by this placement request is running. This value exists
only if the game session placement status is Completed.public List<PlayerLatency> getPlayerLatencies()
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected to AWS regions.
public void setPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected to AWS regions.
playerLatencies - Set of values, expressed in milliseconds, indicating the amount of latency that players experience when
connected to AWS regions.public GameSessionPlacement withPlayerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience 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 experience when
connected to AWS regions.public GameSessionPlacement withPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected to AWS regions.
playerLatencies - Set of values, expressed in milliseconds, indicating the amount of latency that players experience 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").
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, cancelled, or timed out.
endTime - Time stamp indicating when this request was completed, cancelled, or timed out.public Date getEndTime()
Time stamp indicating when this request was completed, cancelled, or timed out.
public GameSessionPlacement withEndTime(Date endTime)
Time stamp indicating when this request was completed, cancelled, or timed out.
endTime - Time stamp indicating when this request was completed, cancelled, or timed out.public String toString()
toString in class ObjectObject.toString()public GameSessionPlacement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.