Class UpdateGameSessionRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Represents the input for a request action.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanUnique identifier for a game session.Maximum number of players that can be simultaneously connected to the game session.getName()Descriptive label associated with this game session.Policy determining whether or not the game session accepts new players.Game session protection policy to apply to this game session only.inthashCode()voidsetGameSessionId(String gameSessionId) Unique identifier for a game session.voidsetMaximumPlayerSessionCount(Integer maximumPlayerSessionCount) Maximum number of players that can be simultaneously connected to the game session.voidDescriptive label associated with this game session.voidsetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy) Policy determining whether or not the game session accepts new players.voidsetPlayerSessionCreationPolicy(String playerSessionCreationPolicy) Policy determining whether or not the game session accepts new players.voidsetProtectionPolicy(ProtectionPolicy protectionPolicy) Game session protection policy to apply to this game session only.voidsetProtectionPolicy(String protectionPolicy) Game session protection policy to apply to this game session only.toString()Returns a string representation of this object; useful for testing and debugging.withGameSessionId(String gameSessionId) Unique identifier for a game session.withMaximumPlayerSessionCount(Integer maximumPlayerSessionCount) Maximum number of players that can be simultaneously connected to the game session.Descriptive label associated with this game session.withPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy) Policy determining whether or not the game session accepts new players.withPlayerSessionCreationPolicy(String playerSessionCreationPolicy) Policy determining whether or not the game session accepts new players.withProtectionPolicy(ProtectionPolicy protectionPolicy) Game session protection policy to apply to this game session only.withProtectionPolicy(String protectionPolicy) Game session protection policy to apply to this game session only.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
UpdateGameSessionRequest
public UpdateGameSessionRequest()
-
-
Method Details
-
setGameSessionId
Unique identifier for a game session. Specify the game session you want to update.
- Parameters:
gameSessionId- Unique identifier for a game session. Specify the game session you want to update.
-
getGameSessionId
Unique identifier for a game session. Specify the game session you want to update.
- Returns:
- Unique identifier for a game session. Specify the game session you want to update.
-
withGameSessionId
Unique identifier for a game session. Specify the game session you want to update.
- Parameters:
gameSessionId- Unique identifier for a game session. Specify the game session you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaximumPlayerSessionCount
Maximum number of players that can be simultaneously connected to the game session.
- Parameters:
maximumPlayerSessionCount- Maximum number of players that can be simultaneously connected to the game session.
-
getMaximumPlayerSessionCount
Maximum number of players that can be simultaneously connected to the game session.
- Returns:
- Maximum number of players that can be simultaneously connected to the game session.
-
withMaximumPlayerSessionCount
Maximum number of players that can be simultaneously connected to the game session.
- Parameters:
maximumPlayerSessionCount- Maximum number of players that can be simultaneously connected to the game session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
Descriptive label associated with this game session. Session names do not need to be unique.
- Parameters:
name- Descriptive label associated with this game session. Session names do not need to be unique.
-
getName
Descriptive label associated with this game session. Session names do not need to be unique.
- Returns:
- Descriptive label associated with this game session. Session names do not need to be unique.
-
withName
Descriptive label associated with this game session. Session names do not need to be unique.
- Parameters:
name- Descriptive label associated with this game session. Session names do not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPlayerSessionCreationPolicy
Policy determining whether or not the game session accepts new players.
- Parameters:
playerSessionCreationPolicy- Policy determining whether or not the game session accepts new players.- See Also:
-
getPlayerSessionCreationPolicy
Policy determining whether or not the game session accepts new players.
- Returns:
- Policy determining whether or not the game session accepts new players.
- See Also:
-
withPlayerSessionCreationPolicy
Policy determining whether or not the game session accepts new players.
- Parameters:
playerSessionCreationPolicy- Policy determining whether or not the game session accepts new players.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setPlayerSessionCreationPolicy
Policy determining whether or not the game session accepts new players.
- Parameters:
playerSessionCreationPolicy- Policy determining whether or not the game session accepts new players.- See Also:
-
withPlayerSessionCreationPolicy
public UpdateGameSessionRequest withPlayerSessionCreationPolicy(PlayerSessionCreationPolicy playerSessionCreationPolicy) Policy determining whether or not the game session accepts new players.
- Parameters:
playerSessionCreationPolicy- Policy determining whether or not the game session accepts new players.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setProtectionPolicy
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.
- Parameters:
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.
- See Also:
-
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.
- Returns:
- 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.
- See Also:
-
withProtectionPolicy
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setProtectionPolicy
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.
- Parameters:
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.
- See Also:
-
withProtectionPolicy
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-