@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGameSessionId()
Unique identifier for the game session to update.
|
Integer |
getMaximumPlayerSessionCount()
Maximum number of players that can be connected simultaneously to the game session.
|
String |
getName()
Descriptive label that is associated with a 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 the game session to update.
|
void |
setMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
|
void |
setName(String name)
Descriptive label that is associated with a 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 the game session to update.
|
UpdateGameSessionRequest |
withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount)
Maximum number of players that can be connected simultaneously to the game session.
|
UpdateGameSessionRequest |
withName(String name)
Descriptive label that is associated with a 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.
|
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, withSdkRequestTimeoutpublic void setGameSessionId(String gameSessionId)
Unique identifier for the game session to update.
gameSessionId - Unique identifier for the game session to update.public String getGameSessionId()
Unique identifier for the game session to update.
public UpdateGameSessionRequest withGameSessionId(String gameSessionId)
Unique identifier for the game session to update.
gameSessionId - Unique identifier for the game session to update.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 UpdateGameSessionRequest 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 setName(String name)
Descriptive label that is associated with a game session. Session names do not need to be unique.
name - Descriptive label that is associated with a game session. Session names do not need to be unique.public String getName()
Descriptive label that is associated with a game session. Session names do not need to be unique.
public UpdateGameSessionRequest withName(String name)
Descriptive label that is associated with a game session. Session names do not need to be unique.
name - Descriptive label that is associated with a 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.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during
a scale-down event.
protectionPolicy - Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated
during a scale-down event.
ProtectionPolicypublic String getProtectionPolicy()
Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during
a scale-down event.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated
during a scale-down event.
ProtectionPolicypublic UpdateGameSessionRequest withProtectionPolicy(String protectionPolicy)
Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during
a scale-down event.
protectionPolicy - Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated
during a scale-down event.
ProtectionPolicypublic void setProtectionPolicy(ProtectionPolicy protectionPolicy)
Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during
a scale-down event.
protectionPolicy - Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated
during a scale-down event.
ProtectionPolicypublic UpdateGameSessionRequest withProtectionPolicy(ProtectionPolicy protectionPolicy)
Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during
a scale-down event.
protectionPolicy - Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated
during a scale-down event.
ProtectionPolicypublic String toString()
toString in class ObjectObject.toString()public UpdateGameSessionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.