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 accepts new players.
|
String |
getProtectionPolicy()
Game session protection policy to apply to this game session only.
|
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 accepts new players.
|
void |
setPlayerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session accepts new players.
|
void |
setProtectionPolicy(ProtectionPolicy protectionPolicy)
Game session protection policy to apply to this game session only.
|
void |
setProtectionPolicy(String protectionPolicy)
Game session protection policy to apply to this game session only.
|
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 accepts new players.
|
UpdateGameSessionRequest |
withPlayerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session accepts new players.
|
UpdateGameSessionRequest |
withProtectionPolicy(ProtectionPolicy protectionPolicy)
Game session protection policy to apply to this game session only.
|
UpdateGameSessionRequest |
withProtectionPolicy(String protectionPolicy)
Game session protection policy to apply to this game session only.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, 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 accepts new players.
playerSessionCreationPolicy - Policy determining whether or not the game session accepts new
players.PlayerSessionCreationPolicypublic String getPlayerSessionCreationPolicy()
Policy determining whether or not the game session accepts new players.
PlayerSessionCreationPolicypublic UpdateGameSessionRequest withPlayerSessionCreationPolicy(String playerSessionCreationPolicy)
Policy determining whether or not the game session accepts new players.
playerSessionCreationPolicy - Policy determining whether or not the game session accepts new
players.PlayerSessionCreationPolicypublic void setPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
Policy determining whether or not the game session accepts new players.
playerSessionCreationPolicy - Policy determining whether or not the game session accepts new
players.PlayerSessionCreationPolicypublic UpdateGameSessionRequest withPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy)
Policy determining whether or not the game session accepts new players.
playerSessionCreationPolicy - Policy determining whether or not the game session accepts new
players.PlayerSessionCreationPolicypublic void setProtectionPolicy(String protectionPolicy)
Game session protection policy to apply to this game session only.
protectionPolicy - Game session protection policy to apply to this game session only.
ProtectionPolicypublic String getProtectionPolicy()
Game session protection policy to apply to this game session only.
ProtectionPolicypublic UpdateGameSessionRequest withProtectionPolicy(String protectionPolicy)
Game session protection policy to apply to this game session only.
protectionPolicy - Game session protection policy to apply to this game session only.
ProtectionPolicypublic void setProtectionPolicy(ProtectionPolicy protectionPolicy)
Game session protection policy to apply to this game session only.
protectionPolicy - Game session protection policy to apply to this game session only.
ProtectionPolicypublic UpdateGameSessionRequest withProtectionPolicy(ProtectionPolicy protectionPolicy)
Game session protection policy to apply to this game session only.
protectionPolicy - Game session protection policy to apply to this game session only.
ProtectionPolicypublic String toString()
toString in class ObjectObject.toString()public UpdateGameSessionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.