@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 a
custom game build executable or a Realtime Servers script. Each instruction set identifies the location of the custom
game build executable or Realtime launch script, optional launch parameters, and the number of server processes with
this configuration to maintain concurrently on the instance. Server process configurations make up a fleet's
RuntimeConfiguration .
| 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 that use this configuration to run concurrently on an 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 the server executable in a custom game build or the name of the Realtime script file that
contains the
Init() function. |
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 the server executable in a custom game build or the name of the Realtime script file that
contains the Init() function. Game builds and Realtime scripts are installed on instances at the
root:
Windows (for 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"
Init() function. Game builds and Realtime scripts are installed on instances at
the root:
Windows (for 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"
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 that use this configuration to run concurrently on an 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 © 2021. All rights reserved.