@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartGameSessionPlacementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
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 custom properties for a game session, formatted as key:value pairs.
|
String |
getGameSessionData()
Set of custom game session properties, formatted as a single string value.
|
String |
getGameSessionName()
A 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()
The maximum number of players that can be connected simultaneously to the game session.
|
String |
getPlacementId()
A 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 a player experiences 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 custom properties for a game session, formatted as key:value pairs.
|
void |
setGameSessionData(String gameSessionData)
Set of custom game session properties, formatted as a single string value.
|
void |
setGameSessionName(String gameSessionName)
A 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)
The maximum number of players that can be connected simultaneously to the game session.
|
void |
setPlacementId(String placementId)
A 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 a player experiences when
connected to AWS Regions.
|
String |
toString()
Returns a string representation of this object.
|
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 custom properties for a game session, formatted as key:value pairs.
|
StartGameSessionPlacementRequest |
withGameProperties(GameProperty... gameProperties)
Set of custom properties for a game session, formatted as key:value pairs.
|
StartGameSessionPlacementRequest |
withGameSessionData(String gameSessionData)
Set of custom game session properties, formatted as a single string value.
|
StartGameSessionPlacementRequest |
withGameSessionName(String gameSessionName)
A 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)
The maximum number of players that can be connected simultaneously to the game session.
|
StartGameSessionPlacementRequest |
withPlacementId(String placementId)
A 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 a player experiences when
connected to AWS Regions.
|
StartGameSessionPlacementRequest |
withPlayerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences 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, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPlacementId(String placementId)
A 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 canceled or timed-out placement request.
placementId
- A 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 canceled or
timed-out placement request.public String getPlacementId()
A 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 canceled or timed-out placement request.
public StartGameSessionPlacementRequest withPlacementId(String placementId)
A 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 canceled or timed-out placement request.
placementId
- A 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 canceled or
timed-out placement request.public void setGameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session. You can use either the queue name or ARN value.
gameSessionQueueName
- Name of the queue to use to place the new game session. You can use either the queue name or ARN value.public String getGameSessionQueueName()
Name of the queue to use to place the new game session. You can use either the queue name or ARN value.
public StartGameSessionPlacementRequest withGameSessionQueueName(String gameSessionQueueName)
Name of the queue to use to place the new game session. You can use either the queue name or ARN value.
gameSessionQueueName
- Name of the queue to use to place the new game session. You can use either the queue name or ARN value.public List<GameProperty> getGameProperties()
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)
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
- 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 StartGameSessionPlacementRequest withGameProperties(GameProperty... gameProperties)
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
- 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 StartGameSessionPlacementRequest withGameProperties(Collection<GameProperty> gameProperties)
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
- 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 StartGameSessionPlacementRequest 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 StartGameSessionPlacementRequest 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 List<PlayerLatency> getPlayerLatencies()
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when connected to AWS Regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.
public void setPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when connected to AWS Regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.
playerLatencies
- Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when
connected to AWS Regions. This information is used to try to place the new game session where it can offer
the best possible gameplay experience for the players.public StartGameSessionPlacementRequest withPlayerLatencies(PlayerLatency... playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when connected to AWS Regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.
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 a player experiences when
connected to AWS Regions. This information is used to try to place the new game session where it can offer
the best possible gameplay experience for the players.public StartGameSessionPlacementRequest withPlayerLatencies(Collection<PlayerLatency> playerLatencies)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when connected to AWS Regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.
playerLatencies
- Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when
connected to AWS Regions. This information is used to try to place the new game session where it can offer
the best possible gameplay experience for the players.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 void setGameSessionData(String gameSessionData)
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
- 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()
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 StartGameSessionPlacementRequest withGameSessionData(String gameSessionData)
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
- 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 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.