@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()
A set of key-value pairs that can store custom data in a game session.
|
String |
getGameSessionData()
A 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()
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to Amazon Web Services 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)
A set of key-value pairs that can store custom data in a game session.
|
void |
setGameSessionData(String gameSessionData)
A 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)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to Amazon Web Services 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)
A set of key-value pairs that can store custom data in a game session.
|
StartGameSessionPlacementRequest |
withGameProperties(GameProperty... gameProperties)
A set of key-value pairs that can store custom data in a game session.
|
StartGameSessionPlacementRequest |
withGameSessionData(String gameSessionData)
A 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)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to Amazon Web Services Regions.
|
StartGameSessionPlacementRequest |
withPlayerLatencies(PlayerLatency... playerLatencies)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when
connected to Amazon Web Services 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.
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.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.
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.
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.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()
A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}
.
{"Key": "difficulty", "Value": "novice"}
.public void setGameProperties(Collection<GameProperty> gameProperties)
A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}
.
gameProperties
- A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}
.public StartGameSessionPlacementRequest withGameProperties(GameProperty... gameProperties)
A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}
.
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 key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}
.public StartGameSessionPlacementRequest withGameProperties(Collection<GameProperty> gameProperties)
A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}
.
gameProperties
- A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}
.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()
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services 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)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services 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
- A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to Amazon Web Services 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)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services 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
- A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to Amazon Web Services 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)
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services 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
- A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences
when connected to Amazon Web Services 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)
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).
GameSession
object with a request to start a new game session
(see Start a Game Session).public StartGameSessionPlacementRequest 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 String toString()
toString
in class Object
Object.toString()
public StartGameSessionPlacementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()