public static interface RuntimeConfiguration.Builder extends SdkPojo, CopyableBuilder<RuntimeConfiguration.Builder,RuntimeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
RuntimeConfiguration.Builder |
gameSessionActivationTimeoutSeconds(Integer gameSessionActivationTimeoutSeconds)
The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host
players.
|
RuntimeConfiguration.Builder |
maxConcurrentGameSessionActivations(Integer maxConcurrentGameSessionActivations)
The number of game sessions in status
ACTIVATING to allow on an instance. |
RuntimeConfiguration.Builder |
serverProcesses(Collection<ServerProcess> serverProcesses)
A collection of server process configurations that identify what server processes to run on each instance in
a fleet.
|
RuntimeConfiguration.Builder |
serverProcesses(Consumer<ServerProcess.Builder>... serverProcesses)
A collection of server process configurations that identify what server processes to run on each instance in
a fleet.
|
RuntimeConfiguration.Builder |
serverProcesses(ServerProcess... serverProcesses)
A collection of server process configurations that identify what server processes to run on each instance in
a fleet.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuntimeConfiguration.Builder serverProcesses(Collection<ServerProcess> serverProcesses)
A collection of server process configurations that identify what server processes to run on each instance in a fleet.
serverProcesses - A collection of server process configurations that identify what server processes to run on each
instance in a fleet.RuntimeConfiguration.Builder serverProcesses(ServerProcess... serverProcesses)
A collection of server process configurations that identify what server processes to run on each instance in a fleet.
serverProcesses - A collection of server process configurations that identify what server processes to run on each
instance in a fleet.RuntimeConfiguration.Builder serverProcesses(Consumer<ServerProcess.Builder>... serverProcesses)
A collection of server process configurations that identify what server processes to run on each instance in a fleet.
This is a convenience method that creates an instance of theServerProcess.Builder avoiding the need to create one
manually via ServerProcess.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #serverProcesses(List.
serverProcesses - a consumer that will call methods on
ServerProcess.Builder#serverProcesses(java.util.Collection) RuntimeConfiguration.Builder maxConcurrentGameSessionActivations(Integer maxConcurrentGameSessionActivations)
The number of game sessions in status ACTIVATING to allow on an instance. This setting limits
the instance resources that can be used for new game activations at any one time.
maxConcurrentGameSessionActivations - The number of game sessions in status ACTIVATING to allow on an instance. This setting
limits the instance resources that can be used for new game activations at any one time.RuntimeConfiguration.Builder gameSessionActivationTimeoutSeconds(Integer gameSessionActivationTimeoutSeconds)
The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host
players. During this time, the game session is in status ACTIVATING. If the game session does
not become active before the timeout, it is ended and the game session status is changed to
TERMINATED.
gameSessionActivationTimeoutSeconds - The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready
to host players. During this time, the game session is in status ACTIVATING. If the game
session does not become active before the timeout, it is ended and the game session status is changed
to TERMINATED.Copyright © 2023. All rights reserved.