Class GameSessionDetail
java.lang.Object
com.amazonaws.services.gamelift.model.GameSessionDetail
- All Implemented Interfaces:
Serializable, Cloneable
A game session's properties and the protection policy currently in force.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanCurrent status of protection for the game session.inthashCode()voidsetGameSession(GameSession gameSession) voidsetProtectionPolicy(ProtectionPolicy protectionPolicy) Current status of protection for the game session.voidsetProtectionPolicy(String protectionPolicy) Current status of protection for the game session.toString()Returns a string representation of this object; useful for testing and debugging.withGameSession(GameSession gameSession) withProtectionPolicy(ProtectionPolicy protectionPolicy) Current status of protection for the game session.withProtectionPolicy(String protectionPolicy) Current status of protection for the game session.
-
Constructor Details
-
GameSessionDetail
public GameSessionDetail()
-
-
Method Details
-
setGameSession
- Parameters:
gameSession-
-
getGameSession
- Returns:
-
withGameSession
- Parameters:
gameSession-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProtectionPolicy
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.
- Parameters:
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.
- See Also:
-
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.
- Returns:
- 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.
- See Also:
-
withProtectionPolicy
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setProtectionPolicy
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.
- Parameters:
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.
- See Also:
-
withProtectionPolicy
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
-
equals
-
hashCode
-
clone
-