Interface ServerProcess.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServerProcess.Builder,
,ServerProcess> SdkBuilder<ServerProcess.Builder,
,ServerProcess> SdkPojo
- Enclosing class:
ServerProcess
-
Method Summary
Modifier and TypeMethodDescriptionconcurrentExecutions
(Integer concurrentExecutions) The number of server processes using this configuration that run concurrently on each instance.launchPath
(String launchPath) The location of a game build executable or Realtime script.parameters
(String parameters) An optional list of parameters to pass to the server executable or Realtime script on launch.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
launchPath
The location of a game build executable or Realtime script. Game builds and Realtime scripts are installed on instances at the root:
-
Windows (custom game builds only):
C:\game
. Example: "C:\game\MyGame\server.exe
" -
Linux:
/local/game
. Examples: "/local/game/MyGame/server.exe
" or "/local/game/MyRealtimeScript.js
"
Amazon GameLift doesn't support the use of setup scripts that launch the game executable. For custom game builds, this parameter must indicate the executable that calls the server SDK operations
initSDK()
andProcessReady()
.- Parameters:
launchPath
- The location of a game build executable or Realtime script. Game builds and Realtime scripts are installed on instances at the root:-
Windows (custom game builds only):
C:\game
. Example: "C:\game\MyGame\server.exe
" -
Linux:
/local/game
. Examples: "/local/game/MyGame/server.exe
" or "/local/game/MyRealtimeScript.js
"
Amazon GameLift doesn't support the use of setup scripts that launch the game executable. For custom game builds, this parameter must indicate the executable that calls the server SDK operations
initSDK()
andProcessReady()
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
parameters
An optional list of parameters to pass to the server executable or Realtime script on launch.
- Parameters:
parameters
- An optional list of parameters to pass to the server executable or Realtime script on launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
concurrentExecutions
The number of server processes using this configuration that run concurrently on each instance.
- Parameters:
concurrentExecutions
- The number of server processes using this configuration that run concurrently on each instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-