Interface ServerProcess.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServerProcess.Builder,ServerProcess>,SdkBuilder<ServerProcess.Builder,ServerProcess>,SdkPojo
- Enclosing class:
- ServerProcess
public static interface ServerProcess.Builder extends SdkPojo, CopyableBuilder<ServerProcess.Builder,ServerProcess>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerProcess.BuilderconcurrentExecutions(Integer concurrentExecutions)The number of server processes using this configuration that run concurrently on each instance.ServerProcess.BuilderlaunchPath(String launchPath)The location of a game build executable or Realtime script.ServerProcess.Builderparameters(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 Detail
-
launchPath
ServerProcess.Builder launchPath(String 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
ServerProcess.Builder parameters(String 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
ServerProcess.Builder concurrentExecutions(Integer 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.
-
-