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) that a game session can remain in status
ACTIVATING. |
RuntimeConfiguration.Builder |
maxConcurrentGameSessionActivations(Integer maxConcurrentGameSessionActivations)
The maximum number of game sessions with status
ACTIVATING to allow on an instance
simultaneously. |
RuntimeConfiguration.Builder |
serverProcesses(Collection<ServerProcess> serverProcesses)
A collection of server process configurations that describe which server processes to run on each instance in
a fleet.
|
RuntimeConfiguration.Builder |
serverProcesses(Consumer<ServerProcess.Builder>... serverProcesses)
A collection of server process configurations that describe which server processes to run on each instance in
a fleet.
|
RuntimeConfiguration.Builder |
serverProcesses(ServerProcess... serverProcesses)
A collection of server process configurations that describe which 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 describe which server processes to run on each instance in a fleet.
serverProcesses - A collection of server process configurations that describe which server processes to run on each
instance in a fleet.RuntimeConfiguration.Builder serverProcesses(ServerProcess... serverProcesses)
A collection of server process configurations that describe which server processes to run on each instance in a fleet.
serverProcesses - A collection of server process configurations that describe which server processes to run on each
instance in a fleet.RuntimeConfiguration.Builder serverProcesses(Consumer<ServerProcess.Builder>... serverProcesses)
A collection of server process configurations that describe which server processes to run on each instance in a fleet.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #serverProcesses(List) .serverProcesses - a consumer that will call methods on List.Builder #serverProcesses(List) RuntimeConfiguration.Builder maxConcurrentGameSessionActivations(Integer maxConcurrentGameSessionActivations)
The maximum number of game sessions with status ACTIVATING to allow on an instance
simultaneously. This setting limits the amount of instance resources that can be used for new game
activations at any one time.
maxConcurrentGameSessionActivations - The maximum number of game sessions with status ACTIVATING to allow on an instance
simultaneously. This setting limits the amount of 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) that a game session can remain in status ACTIVATING. If
the game session is not active before the timeout, activation is terminated and the game session status is
changed to TERMINATED.
gameSessionActivationTimeoutSeconds - The maximum amount of time (in seconds) that a game session can remain in status
ACTIVATING. If the game session is not active before the timeout, activation is
terminated and the game session status is changed to TERMINATED.Copyright © 2021. All rights reserved.