public class UpdateGameSessionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
gameSessionId
Unique identifier for a game session.
|
private java.lang.Integer |
maximumPlayerSessionCount
Maximum number of players that can be simultaneously connected to the
game session.
|
private java.lang.String |
name
Descriptive label associated with this game session.
|
private java.lang.String |
playerSessionCreationPolicy
Policy determining whether or not the game session accepts new players.
|
private java.lang.String |
protectionPolicy
Game session protection policy to apply to this game session only.
|
NOOP
Constructor and Description |
---|
UpdateGameSessionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateGameSessionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGameSessionId()
Unique identifier for a game session.
|
java.lang.Integer |
getMaximumPlayerSessionCount()
Maximum number of players that can be simultaneously connected to the
game session.
|
java.lang.String |
getName()
Descriptive label associated with this game session.
|
java.lang.String |
getPlayerSessionCreationPolicy()
Policy determining whether or not the game session accepts new players.
|
java.lang.String |
getProtectionPolicy()
Game session protection policy to apply to this game session only.
|
int |
hashCode() |
void |
setGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
|
void |
setMaximumPlayerSessionCount(java.lang.Integer maximumPlayerSessionCount)
Maximum number of players that can be simultaneously connected to the
game session.
|
void |
setName(java.lang.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(java.lang.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(java.lang.String protectionPolicy)
Game session protection policy to apply to this game session only.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateGameSessionRequest |
withGameSessionId(java.lang.String gameSessionId)
Unique identifier for a game session.
|
UpdateGameSessionRequest |
withMaximumPlayerSessionCount(java.lang.Integer maximumPlayerSessionCount)
Maximum number of players that can be simultaneously connected to the
game session.
|
UpdateGameSessionRequest |
withName(java.lang.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(java.lang.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(java.lang.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, withSdkRequestTimeout
private java.lang.String gameSessionId
Unique identifier for a game session. Specify the game session you want to update.
private java.lang.Integer maximumPlayerSessionCount
Maximum number of players that can be simultaneously connected to the game session.
private java.lang.String name
Descriptive label associated with this game session. Session names do not need to be unique.
private java.lang.String playerSessionCreationPolicy
Policy determining whether or not the game session accepts new players.
private java.lang.String protectionPolicy
Game session protection policy to apply to this game session only.
public void setGameSessionId(java.lang.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 java.lang.String getGameSessionId()
Unique identifier for a game session. Specify the game session you want to update.
public UpdateGameSessionRequest withGameSessionId(java.lang.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(java.lang.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 java.lang.Integer getMaximumPlayerSessionCount()
Maximum number of players that can be simultaneously connected to the game session.
public UpdateGameSessionRequest withMaximumPlayerSessionCount(java.lang.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(java.lang.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 java.lang.String getName()
Descriptive label associated with this game session. Session names do not need to be unique.
public UpdateGameSessionRequest withName(java.lang.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(java.lang.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.PlayerSessionCreationPolicy
public java.lang.String getPlayerSessionCreationPolicy()
Policy determining whether or not the game session accepts new players.
PlayerSessionCreationPolicy
public UpdateGameSessionRequest withPlayerSessionCreationPolicy(java.lang.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.PlayerSessionCreationPolicy
public 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.PlayerSessionCreationPolicy
public 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.PlayerSessionCreationPolicy
public void setProtectionPolicy(java.lang.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.
ProtectionPolicy
public java.lang.String getProtectionPolicy()
Game session protection policy to apply to this game session only.
ProtectionPolicy
public UpdateGameSessionRequest withProtectionPolicy(java.lang.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.
ProtectionPolicy
public 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.
ProtectionPolicy
public 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.
ProtectionPolicy
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateGameSessionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()