public class UpdateGameSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP| Constructor and Description |
|---|
UpdateGameSessionRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateGameSessionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for a game session.
|
Integer |
getMaximumPlayerSessionCount()
Maximum number of players that can be simultaneously connected to the
game session.
|
String |
getName()
Descriptive label associated with this game session.
|
String |
getPlayerSessionCreationPolicy()
Policy determining whether or not the game session will accept new
players.
|
int |
hashCode() |
void |
setGameSessionId(String gameSessionId)
Unique identifier for a game session.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be simultaneously connected to the
game session.
|
void |
setName(String name)
Descriptive label associated with this game session.
|
void |
setPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new
players.
|
void |
setPlayerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new
players.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateGameSessionRequest |
withGameSessionId(String gameSessionId)
Unique identifier for a game session.
|
UpdateGameSessionRequest |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be simultaneously connected to the
game session.
|
UpdateGameSessionRequest |
withName(String name)
Descriptive label associated with this game session.
|
UpdateGameSessionRequest |
withPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new
players.
|
UpdateGameSessionRequest |
withPlayerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new
players.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setGameSessionId(String gameSessionId)
Unique identifier for a game session. Specify the game session you want to update.
gameSessionId - Unique identifier for a game session. Specify the game session you
want to update.public String getGameSessionId()
Unique identifier for a game session. Specify the game session you want to update.
public UpdateGameSessionRequest withGameSessionId(String gameSessionId)
Unique identifier for a game session. Specify the game session you want to update.
gameSessionId - Unique identifier for a game session. Specify the game session you
want to update.public void setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be simultaneously connected to the game session.
maximumPlayerSessionCount - Maximum number of players that can be simultaneously connected to
the game session.public Integer getMaximumPlayerSessionCount()
Maximum number of players that can be simultaneously connected to the game session.
public UpdateGameSessionRequest withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be simultaneously connected to the game session.
maximumPlayerSessionCount - Maximum number of players that can be simultaneously connected to
the game session.public void setName(String name)
Descriptive label associated with this game session. Session names do not need to be unique.
name - Descriptive label associated with this game session. Session names
do not need to be unique.public String getName()
Descriptive label associated with this game session. Session names do not need to be unique.
public UpdateGameSessionRequest withName(String name)
Descriptive label associated with this game session. Session names do not need to be unique.
name - Descriptive label associated with this game session. Session names
do not need to be unique.public void setPlayerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new players.
playerSessionCreationPolicy - Policy determining whether or not the game session will accept new
players.PlayerSessionCreationPolicypublic String getPlayerSessionCreationPolicy()
Policy determining whether or not the game session will accept new players.
PlayerSessionCreationPolicypublic UpdateGameSessionRequest withPlayerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new players.
playerSessionCreationPolicy - Policy determining whether or not the game session will accept new
players.PlayerSessionCreationPolicypublic void setPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new players.
playerSessionCreationPolicy - Policy determining whether or not the game session will accept new
players.PlayerSessionCreationPolicypublic UpdateGameSessionRequest withPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
Policy determining whether or not the game session will accept new players.
playerSessionCreationPolicy - Policy determining whether or not the game session will accept new
players.PlayerSessionCreationPolicypublic String toString()
toString in class ObjectObject.toString()public UpdateGameSessionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.