public class GameSessionDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A game session's properties and the protection policy currently in force.
Modifier and Type | Field and Description |
---|---|
private GameSession |
gameSession |
private java.lang.String |
protectionPolicy
Current status of protection for the game session.
|
Constructor and Description |
---|
GameSessionDetail() |
Modifier and Type | Method and Description |
---|---|
GameSessionDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
GameSession |
getGameSession() |
java.lang.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(java.lang.String protectionPolicy)
Current status of protection for the game session.
|
java.lang.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(java.lang.String protectionPolicy)
Current status of protection for the game session.
|
private GameSession gameSession
private java.lang.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(java.lang.String protectionPolicy)
Current status of protection for the game session.
protectionPolicy
- Current status of protection for the game session.
ProtectionPolicy
public java.lang.String getProtectionPolicy()
Current status of protection for the game session.
ProtectionPolicy
public GameSessionDetail withProtectionPolicy(java.lang.String protectionPolicy)
Current status of protection for the game session.
protectionPolicy
- Current status of protection for the game session.
ProtectionPolicy
public void setProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
protectionPolicy
- Current status of protection for the game session.
ProtectionPolicy
public GameSessionDetail withProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
protectionPolicy
- Current status of protection for the game session.
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 GameSessionDetail clone()
clone
in class java.lang.Object