@Generated(value="software.amazon.awssdk:codegen") public final class ServerProcess extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerProcess.Builder,ServerProcess>
A set of instructions for launching server processes on each instance in a fleet. Server processes run either an executable in a custom game build or a Realtime Servers script. Server process configurations are part of a fleet's runtime configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServerProcess.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServerProcess.Builder |
builder() |
Integer |
concurrentExecutions()
The number of server processes using this configuration that run concurrently on each instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
launchPath()
The location of a game build executable or Realtime script.
|
String |
parameters()
An optional list of parameters to pass to the server executable or Realtime script on launch.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServerProcess.Builder> |
serializableBuilderClass() |
ServerProcess.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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() and
ProcessReady().
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() and ProcessReady().
public final String parameters()
An optional list of parameters to pass to the server executable or Realtime script on launch.
public final Integer concurrentExecutions()
The number of server processes using this configuration that run concurrently on each instance.
public ServerProcess.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServerProcess.Builder,ServerProcess>public static ServerProcess.Builder builder()
public static Class<? extends ServerProcess.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.