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()
boolean
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.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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-