Class UpdateGameServerRequest

    • Method Detail

      • gameServerGroupName

        public final String gameServerGroupName()

        A unique identifier for the game server group where the game server is running.

        Returns:
        A unique identifier for the game server group where the game server is running.
      • gameServerId

        public final String gameServerId()

        A custom string that uniquely identifies the game server to update.

        Returns:
        A custom string that uniquely identifies the game server to update.
      • gameServerData

        public final String gameServerData()

        A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.

        Returns:
        A set of custom game server properties, formatted as a single string value. This data is passed to a game client or service when it requests information on game servers.
      • utilizationStatus

        public final GameServerUtilizationStatus utilizationStatus()

        Indicates if the game server is available or is currently hosting gameplay. You can update a game server status from AVAILABLE to UTILIZED, but you can't change a the status from UTILIZED to AVAILABLE.

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

        Returns:
        Indicates if the game server is available or is currently hosting gameplay. You can update a game server status from AVAILABLE to UTILIZED, but you can't change a the status from UTILIZED to AVAILABLE.
        See Also:
        GameServerUtilizationStatus
      • utilizationStatusAsString

        public final String utilizationStatusAsString()

        Indicates if the game server is available or is currently hosting gameplay. You can update a game server status from AVAILABLE to UTILIZED, but you can't change a the status from UTILIZED to AVAILABLE.

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

        Returns:
        Indicates if the game server is available or is currently hosting gameplay. You can update a game server status from AVAILABLE to UTILIZED, but you can't change a the status from UTILIZED to AVAILABLE.
        See Also:
        GameServerUtilizationStatus
      • healthCheck

        public final GameServerHealthCheck healthCheck()

        Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.

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

        Returns:
        Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
        See Also:
        GameServerHealthCheck
      • healthCheckAsString

        public final String healthCheckAsString()

        Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.

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

        Returns:
        Indicates health status of the game server. A request that includes this parameter updates the game server's LastHealthCheckTime timestamp.
        See Also:
        GameServerHealthCheck
      • 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