public class GameSessionDetail extends Object implements Serializable, Cloneable
A game session's properties and the protection policy currently in force.
| Constructor and Description |
|---|
GameSessionDetail() |
| Modifier and Type | Method and Description |
|---|---|
GameSessionDetail |
clone() |
boolean |
equals(Object obj) |
GameSession |
getGameSession() |
String |
getProtectionPolicy()
Current status of protection for the game session.
|
int |
hashCode() |
void |
setGameSession(GameSession gameSession) |
void |
setProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
|
void |
setProtectionPolicy(String protectionPolicy)
Current status of protection for the game session.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GameSessionDetail |
withGameSession(GameSession gameSession) |
GameSessionDetail |
withProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
|
GameSessionDetail |
withProtectionPolicy(String protectionPolicy)
Current status of protection for the game session.
|
public void setGameSession(GameSession gameSession)
gameSession - public GameSession getGameSession()
public GameSessionDetail withGameSession(GameSession gameSession)
gameSession - public void setProtectionPolicy(String protectionPolicy)
Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a scale-down
event.protectionPolicy - Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic String getProtectionPolicy()
Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a scale-down
event.ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic GameSessionDetail withProtectionPolicy(String protectionPolicy)
Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a scale-down
event.protectionPolicy - Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic void setProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a scale-down
event.protectionPolicy - Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic GameSessionDetail withProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a scale-down
event.protectionPolicy - Current status of protection for the game session.
ACTIVE status, it cannot be terminated during a
scale-down event.ProtectionPolicypublic String toString()
toString in class ObjectObject.toString()public GameSessionDetail clone()
Copyright © 2016. All rights reserved.