@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
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.
protectionPolicy
- Current status of protection for the game session.
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.
ProtectionPolicy
public String getProtectionPolicy()
Current status of protection for the game session.
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.
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.
ProtectionPolicy
public GameSessionDetail withProtectionPolicy(String protectionPolicy)
Current status of protection for the game session.
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.
protectionPolicy
- Current status of protection for the game session.
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.
ProtectionPolicy
public void setProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
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.
protectionPolicy
- Current status of protection for the game session.
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.
ProtectionPolicy
public GameSessionDetail withProtectionPolicy(ProtectionPolicy protectionPolicy)
Current status of protection for the game session.
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.
protectionPolicy
- Current status of protection for the game session.
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.
ProtectionPolicy
public String toString()
toString
in class Object
Object.toString()
public GameSessionDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.