@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerProcess extends Object implements Serializable, Cloneable, StructuredPojo
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
.
Constructor and Description |
---|
ServerProcess() |
Modifier and Type | Method and Description |
---|---|
ServerProcess |
clone() |
boolean |
equals(Object obj) |
Integer |
getConcurrentExecutions()
Number of server processes using this configuration to run concurrently on an instance.
|
String |
getLaunchPath()
Location of the server executable in a game build.
|
String |
getParameters()
Optional list of parameters to pass to the server executable on launch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
|
void |
setLaunchPath(String launchPath)
Location of the server executable in a game build.
|
void |
setParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServerProcess |
withConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
|
ServerProcess |
withLaunchPath(String launchPath)
Location of the server executable in a game build.
|
ServerProcess |
withParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
|
public void setLaunchPath(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
".
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
".public String getLaunchPath()
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 ServerProcess withLaunchPath(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
".
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
".public void setParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
parameters
- Optional list of parameters to pass to the server executable on launch.public String getParameters()
Optional list of parameters to pass to the server executable on launch.
public ServerProcess withParameters(String parameters)
Optional list of parameters to pass to the server executable on launch.
parameters
- Optional list of parameters to pass to the server executable on launch.public void setConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
concurrentExecutions
- Number of server processes using this configuration to run concurrently on an instance.public Integer getConcurrentExecutions()
Number of server processes using this configuration to run concurrently on an instance.
public ServerProcess withConcurrentExecutions(Integer concurrentExecutions)
Number of server processes using this configuration to run concurrently on an instance.
concurrentExecutions
- Number of server processes using this configuration to run concurrently on an instance.public String toString()
toString
in class Object
Object.toString()
public ServerProcess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.