@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 developer-defined properties for a game session, formatted as a set of type:value pairs.
|
String |
getGameSessionData()
Set of developer-defined game session properties, formatted as a single string value.
|
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 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 developer-defined properties for a game session, formatted as a set of type:value pairs.
|
void |
setGameSessionData(String gameSessionData)
Set of developer-defined game session properties, formatted as a single string value.
|
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 a player experiences 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, formatted as a set of type:value pairs.
|
StartGameSessionPlacementRequest |
withGameProperties(GameProperty... gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs.
|
StartGameSessionPlacementRequest |
withGameSessionData(String gameSessionData)
Set of developer-defined game session properties, formatted as a single string value.
|
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 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)
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
- 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()
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)
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
- 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.
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, formatted as a set of type:value pairs. These properties are included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
public void setGameProperties(Collection<GameProperty> gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These properties are included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
gameProperties
- Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These
properties are included in the GameSession object, which is passed to the game server with a
request to start a new game session (see Start a Game Session).public StartGameSessionPlacementRequest withGameProperties(GameProperty... gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These properties are included in the GameSession object, which is passed to the game server 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 developer-defined properties for a game session, formatted as a set of type:value pairs. These
properties are included in the GameSession object, which is passed to the game server with a
request to start a new game session (see Start a Game Session).public StartGameSessionPlacementRequest withGameProperties(Collection<GameProperty> gameProperties)
Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These properties are included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
gameProperties
- Set of developer-defined properties for a game session, formatted as a set of type:value pairs. These
properties are included in the GameSession object, which is passed to the game server with a
request to start a new game session (see Start a 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 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 developer-defined game session properties, formatted as a single string value. This data is included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
gameSessionData
- Set of developer-defined game session properties, formatted as a single string value. This data is
included in the GameSession object, which is passed to the game server with a request to start a
new game session (see Start a Game Session).public String getGameSessionData()
Set of developer-defined game session properties, formatted as a single string value. This data is included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
public StartGameSessionPlacementRequest withGameSessionData(String gameSessionData)
Set of developer-defined game session properties, formatted as a single string value. This data is included in the GameSession object, which is passed to the game server with a request to start a new game session (see Start a Game Session).
gameSessionData
- Set of developer-defined game session properties, formatted as a single string value. This data is
included in the GameSession object, which is passed to the game server 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.