public class UpdateGameServerSessionRequest extends AbstractModel
Constructor and Description |
---|
UpdateGameServerSessionRequest() |
UpdateGameServerSessionRequest(UpdateGameServerSessionRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getGameServerSessionId()
Get Game server session ID.
|
Long |
getMaximumPlayerSessionCount()
Get The maximum number of players, which cannot be less than 0.
|
String |
getName()
Get Name of the game server session.
|
String |
getPlayerSessionCreationPolicy()
Get Player session creation policy, which includes `ACCEPT_ALL` (allow all players) and `DENY_ALL` (reject all players).
|
String |
getProtectionPolicy()
Get Protection policy, which includes `NoProtection`·(no protection), `TimeLimitProtection` (time-limited protection) and `FullProtection` (full protection)
|
void |
setGameServerSessionId(String GameServerSessionId)
Set Game server session ID.
|
void |
setMaximumPlayerSessionCount(Long MaximumPlayerSessionCount)
Set The maximum number of players, which cannot be less than 0.
|
void |
setName(String Name)
Set Name of the game server session.
|
void |
setPlayerSessionCreationPolicy(String PlayerSessionCreationPolicy)
Set Player session creation policy, which includes `ACCEPT_ALL` (allow all players) and `DENY_ALL` (reject all players).
|
void |
setProtectionPolicy(String ProtectionPolicy)
Set Protection policy, which includes `NoProtection`·(no protection), `TimeLimitProtection` (time-limited protection) and `FullProtection` (full protection)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public UpdateGameServerSessionRequest()
public UpdateGameServerSessionRequest(UpdateGameServerSessionRequest source)
public String getGameServerSessionId()
public void setGameServerSessionId(String GameServerSessionId)
GameServerSessionId
- Game server session ID. It should contain 1 to 256 ASCII characters.public Long getMaximumPlayerSessionCount()
public void setMaximumPlayerSessionCount(Long MaximumPlayerSessionCount)
MaximumPlayerSessionCount
- The maximum number of players, which cannot be less than 0.public String getName()
public void setName(String Name)
Name
- Name of the game server session. It should contain 1 to 1024 ASCII characters.public String getPlayerSessionCreationPolicy()
public void setPlayerSessionCreationPolicy(String PlayerSessionCreationPolicy)
PlayerSessionCreationPolicy
- Player session creation policy, which includes `ACCEPT_ALL` (allow all players) and `DENY_ALL` (reject all players).public String getProtectionPolicy()
public void setProtectionPolicy(String ProtectionPolicy)
ProtectionPolicy
- Protection policy, which includes `NoProtection`·(no protection), `TimeLimitProtection` (time-limited protection) and `FullProtection` (full protection)Copyright © 2023. All rights reserved.