Class UpdateGameSessionRequest

    • Constructor Detail

      • UpdateGameSessionRequest

        public UpdateGameSessionRequest()
    • Method Detail

      • setGameSessionId

        public void setGameSessionId​(String gameSessionId)

        Unique identifier for a game session. Specify the game session you want to update.

        Parameters:
        gameSessionId - Unique identifier for a game session. Specify the game session you want to update.
      • getGameSessionId

        public String getGameSessionId()

        Unique identifier for a game session. Specify the game session you want to update.

        Returns:
        Unique identifier for a game session. Specify the game session you want to update.
      • withGameSessionId

        public UpdateGameSessionRequest withGameSessionId​(String gameSessionId)

        Unique identifier for a game session. Specify the game session you want to update.

        Parameters:
        gameSessionId - Unique identifier for a game session. Specify the game session you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaximumPlayerSessionCount

        public void setMaximumPlayerSessionCount​(Integer maximumPlayerSessionCount)

        Maximum number of players that can be simultaneously connected to the game session.

        Parameters:
        maximumPlayerSessionCount - Maximum number of players that can be simultaneously connected to the game session.
      • getMaximumPlayerSessionCount

        public Integer getMaximumPlayerSessionCount()

        Maximum number of players that can be simultaneously connected to the game session.

        Returns:
        Maximum number of players that can be simultaneously connected to the game session.
      • withMaximumPlayerSessionCount

        public UpdateGameSessionRequest withMaximumPlayerSessionCount​(Integer maximumPlayerSessionCount)

        Maximum number of players that can be simultaneously connected to the game session.

        Parameters:
        maximumPlayerSessionCount - Maximum number of players that can be simultaneously connected to the game session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        Descriptive label associated with this game session. Session names do not need to be unique.

        Parameters:
        name - Descriptive label associated with this game session. Session names do not need to be unique.
      • getName

        public String getName()

        Descriptive label associated with this game session. Session names do not need to be unique.

        Returns:
        Descriptive label associated with this game session. Session names do not need to be unique.
      • withName

        public UpdateGameSessionRequest withName​(String name)

        Descriptive label associated with this game session. Session names do not need to be unique.

        Parameters:
        name - Descriptive label associated with this game session. Session names do not need to be unique.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPlayerSessionCreationPolicy

        public void setPlayerSessionCreationPolicy​(String playerSessionCreationPolicy)

        Policy determining whether or not the game session accepts new players.

        Parameters:
        playerSessionCreationPolicy - Policy determining whether or not the game session accepts new players.
        See Also:
        PlayerSessionCreationPolicy
      • getPlayerSessionCreationPolicy

        public String getPlayerSessionCreationPolicy()

        Policy determining whether or not the game session accepts new players.

        Returns:
        Policy determining whether or not the game session accepts new players.
        See Also:
        PlayerSessionCreationPolicy
      • withPlayerSessionCreationPolicy

        public UpdateGameSessionRequest withPlayerSessionCreationPolicy​(String playerSessionCreationPolicy)

        Policy determining whether or not the game session accepts new players.

        Parameters:
        playerSessionCreationPolicy - Policy determining whether or not the game session accepts new players.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlayerSessionCreationPolicy
      • setPlayerSessionCreationPolicy

        public void setPlayerSessionCreationPolicy​(PlayerSessionCreationPolicy playerSessionCreationPolicy)

        Policy determining whether or not the game session accepts new players.

        Parameters:
        playerSessionCreationPolicy - Policy determining whether or not the game session accepts new players.
        See Also:
        PlayerSessionCreationPolicy
      • withPlayerSessionCreationPolicy

        public UpdateGameSessionRequest withPlayerSessionCreationPolicy​(PlayerSessionCreationPolicy playerSessionCreationPolicy)

        Policy determining whether or not the game session accepts new players.

        Parameters:
        playerSessionCreationPolicy - Policy determining whether or not the game session accepts new players.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlayerSessionCreationPolicy
      • setProtectionPolicy

        public void setProtectionPolicy​(String protectionPolicy)

        Game session protection policy to apply to this game session only.

        • 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 - Game session protection policy to apply to this game session only.
        • 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()

        Game session protection policy to apply to this game session only.

        • 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:
        Game session protection policy to apply to this game session only.
        • 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 UpdateGameSessionRequest withProtectionPolicy​(String protectionPolicy)

        Game session protection policy to apply to this game session only.

        • 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 - Game session protection policy to apply to this game session only.
        • 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)

        Game session protection policy to apply to this game session only.

        • 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 - Game session protection policy to apply to this game session only.
        • 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 UpdateGameSessionRequest withProtectionPolicy​(ProtectionPolicy protectionPolicy)

        Game session protection policy to apply to this game session only.

        • 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 - Game session protection policy to apply to this game session only.
        • 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