Class GameSessionDetail

    • Constructor Detail

      • GameSessionDetail

        public GameSessionDetail()
    • Method Detail

      • setGameSession

        public void setGameSession​(GameSession gameSession)
        Parameters:
        gameSession -
      • getGameSession

        public GameSession getGameSession()
        Returns:
      • withGameSession

        public GameSessionDetail withGameSession​(GameSession gameSession)
        Parameters:
        gameSession -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProtectionPolicy

        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.

        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:
        ProtectionPolicy
      • getProtectionPolicy

        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.

        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:
        ProtectionPolicy
      • withProtectionPolicy

        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.

        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:
        ProtectionPolicy
      • setProtectionPolicy

        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.

        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:
        ProtectionPolicy
      • withProtectionPolicy

        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.

        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:
        ProtectionPolicy
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object