@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. Each instruction set identifies the
location of the server executable, 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()
Number of server processes using this configuration to run concurrently on an instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
launchPath()
Location of the server executable in a game build.
|
String |
parameters()
Optional list of parameters to pass to the server executable on launch.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServerProcess.Builder> |
serializableBuilderClass() |
ServerProcess.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String launchPath()
Location of the server executable in a game build. All game builds are installed on instances at the root : for
Windows instances C:\game
, and for Linux instances /local/game
. A Windows game build
with an executable file located at MyGame\latest\server.exe
must have a launch path of "
C:\game\MyGame\latest\server.exe
". A Linux game build with an executable file located at
MyGame/latest/server.exe
must have a launch path of "
/local/game/MyGame/latest/server.exe
".
C:\game
, and for Linux instances /local/game
. A Windows
game build with an executable file located at MyGame\latest\server.exe
must have a launch
path of "C:\game\MyGame\latest\server.exe
". A Linux game build with an executable file
located at MyGame/latest/server.exe
must have a launch path of "
/local/game/MyGame/latest/server.exe
".public String parameters()
Optional list of parameters to pass to the server executable on launch.
public Integer concurrentExecutions()
Number of server processes using this configuration to run concurrently on an instance.
public ServerProcess.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServerProcess.Builder,ServerProcess>
public static ServerProcess.Builder builder()
public static Class<? extends ServerProcess.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.