Class UpdateGameSessionRequest

    • Method Detail

      • gameSessionId

        public final String gameSessionId()

        A unique identifier for the game session to update.

        Returns:
        A unique identifier for the game session to update.
      • maximumPlayerSessionCount

        public final Integer maximumPlayerSessionCount()

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

        Returns:
        The maximum number of players that can be connected simultaneously to the game session.
      • name

        public final String name()

        A descriptive label that is associated with a game session. Session names do not need to be unique.

        Returns:
        A descriptive label that is associated with a game session. Session names do not need to be unique.
      • protectionPolicy

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, protectionPolicy will return ProtectionPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from protectionPolicyAsString().

        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
      • protectionPolicyAsString

        public final String protectionPolicyAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, protectionPolicy will return ProtectionPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from protectionPolicyAsString().

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

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object