StructuredPojo
, ToCopyableBuilder<ServerProcess.Builder,ServerProcess>
@Generated("software.amazon.awssdk:codegen") public class ServerProcess extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
ServerProcess.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ServerProcess.Builder |
builder() |
|
Integer |
concurrentExecutions() |
Number of server processes using this configuration to run concurrently on an instance.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
launchPath() |
Location of the server executable in a game build.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
parameters() |
Optional list of parameters to pass to the server executable on launch.
|
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() |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.