@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartGameSessionPlacementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartGameSessionPlacementRequest() |
Modifier and Type | Method and Description |
---|---|
StartGameSessionPlacementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<DesiredPlayerSession> |
getDesiredPlayerSessions()
Set of information on each player to create a player session for.
|
List<GameProperty> |
getGameProperties()
Set of developer-defined properties for a game session.
|
String |
getGameSessionName()
Descriptive label that is associated with a game session.
|
String |
getGameSessionQueueName()
Name of the queue to use to place the new game session.
|
Integer |
getMaximumPlayerSessionCount()
Maximum number of players that can be connected simultaneously to the game session.
|
String |
getPlacementId()
Unique identifier to assign to the new 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.
|
int |
hashCode() |
void |
setDesiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)
Set of information on each player to create a player session for.
|
void |
setGameProperties(Collection<GameProperty> gameProperties)
Set of developer-defined properties for a game session.
|
void |
setGameSessionName(String gameSessionName)
Descriptive label that is associated with a game session.
|
void |
setGameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
|
void |
setPlacementId(String placementId)
Unique identifier to assign to the new 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StartGameSessionPlacementRequest |
withDesiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)
Set of information on each player to create a player session for.
|
StartGameSessionPlacementRequest |
withDesiredPlayerSessions(DesiredPlayerSession... desiredPlayerSessions)
Set of information on each player to create a player session for.
|
StartGameSessionPlacementRequest |
withGameProperties(Collection<GameProperty> gameProperties)
Set of developer-defined properties for a game session.
|
StartGameSessionPlacementRequest |
withGameProperties(GameProperty... gameProperties)
Set of developer-defined properties for a game session.
|
StartGameSessionPlacementRequest |
withGameSessionName(String gameSessionName)
Descriptive label that is associated with a game session.
|
StartGameSessionPlacementRequest |
withGameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session.
|
StartGameSessionPlacementRequest |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
|
StartGameSessionPlacementRequest |
withPlacementId(String placementId)
Unique identifier to assign to the new game session placement.
|
StartGameSessionPlacementRequest |
withPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected
to AWS regions.
|
StartGameSessionPlacementRequest |
withPlayerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected
to AWS regions.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPlacementId(String placementId)
Unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all regions and cannot be reused unless you are resubmitting a cancelled or timed-out placement request.
placementId
- Unique identifier to assign to the new game session placement. This value is developer-defined. The value
must be unique across all regions and cannot be reused unless you are resubmitting a cancelled or
timed-out placement request.public String getPlacementId()
Unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all regions and cannot be reused unless you are resubmitting a cancelled or timed-out placement request.
public StartGameSessionPlacementRequest withPlacementId(String placementId)
Unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all regions and cannot be reused unless you are resubmitting a cancelled or timed-out placement request.
placementId
- Unique identifier to assign to the new game session placement. This value is developer-defined. The value
must be unique across all regions and cannot be reused unless you are resubmitting a cancelled or
timed-out placement request.public void setGameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session.
gameSessionQueueName
- Name of the queue to use to place the new game session.public String getGameSessionQueueName()
Name of the queue to use to place the new game session.
public StartGameSessionPlacementRequest withGameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session.
gameSessionQueueName
- Name of the queue to use to place the new game session.public 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 StartGameSessionPlacementRequest 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 StartGameSessionPlacementRequest 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 StartGameSessionPlacementRequest 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 StartGameSessionPlacementRequest 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 List<PlayerLatency> getPlayerLatencies()
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected to AWS regions. This information is relevant when requesting player sessions. Latency information provided for player IDs not included in DesiredPlayerSessions are ignored.
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. This information is relevant when requesting player sessions. Latency information provided for player IDs not included in DesiredPlayerSessions are ignored.
playerLatencies
- Set of values, expressed in milliseconds, indicating the amount of latency that players experience when
connected to AWS regions. This information is relevant when requesting player sessions. Latency
information provided for player IDs not included in DesiredPlayerSessions are ignored.public StartGameSessionPlacementRequest withPlayerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected to AWS regions. This information is relevant when requesting player sessions. Latency information provided for player IDs not included in DesiredPlayerSessions are ignored.
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. This information is relevant when requesting player sessions. Latency
information provided for player IDs not included in DesiredPlayerSessions are ignored.public StartGameSessionPlacementRequest withPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that players experience when connected to AWS regions. This information is relevant when requesting player sessions. Latency information provided for player IDs not included in DesiredPlayerSessions are ignored.
playerLatencies
- Set of values, expressed in milliseconds, indicating the amount of latency that players experience when
connected to AWS regions. This information is relevant when requesting player sessions. Latency
information provided for player IDs not included in DesiredPlayerSessions are ignored.public List<DesiredPlayerSession> getDesiredPlayerSessions()
Set of information on each player to create a player session for.
public void setDesiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)
Set of information on each player to create a player session for.
desiredPlayerSessions
- Set of information on each player to create a player session for.public StartGameSessionPlacementRequest withDesiredPlayerSessions(DesiredPlayerSession... desiredPlayerSessions)
Set of information on each player to create a player session for.
NOTE: This method appends the values to the existing list (if any). Use
setDesiredPlayerSessions(java.util.Collection)
or
withDesiredPlayerSessions(java.util.Collection)
if you want to override the existing values.
desiredPlayerSessions
- Set of information on each player to create a player session for.public StartGameSessionPlacementRequest withDesiredPlayerSessions(Collection<DesiredPlayerSession> desiredPlayerSessions)
Set of information on each player to create a player session for.
desiredPlayerSessions
- Set of information on each player to create a player session for.public String toString()
toString
in class Object
Object.toString()
public StartGameSessionPlacementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.