Interface RuntimeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuntimeConfiguration.Builder,RuntimeConfiguration>,SdkBuilder<RuntimeConfiguration.Builder,RuntimeConfiguration>,SdkPojo
- Enclosing class:
- RuntimeConfiguration
public static interface RuntimeConfiguration.Builder extends SdkPojo, CopyableBuilder<RuntimeConfiguration.Builder,RuntimeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeConfiguration.BuildergameSessionActivationTimeoutSeconds(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.BuildermaxConcurrentGameSessionActivations(Integer maxConcurrentGameSessionActivations)The number of game sessions in statusACTIVATINGto allow on an instance or container.RuntimeConfiguration.BuilderserverProcesses(Collection<ServerProcess> serverProcesses)A collection of server process configurations that identify what server processes to run on fleet computes.RuntimeConfiguration.BuilderserverProcesses(Consumer<ServerProcess.Builder>... serverProcesses)A collection of server process configurations that identify what server processes to run on fleet computes.RuntimeConfiguration.BuilderserverProcesses(ServerProcess... serverProcesses)A collection of server process configurations that identify what server processes to run on fleet computes.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
serverProcesses
RuntimeConfiguration.Builder serverProcesses(Collection<ServerProcess> serverProcesses)
A collection of server process configurations that identify what server processes to run on fleet computes.
- Parameters:
serverProcesses- A collection of server process configurations that identify what server processes to run on fleet computes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverProcesses
RuntimeConfiguration.Builder serverProcesses(ServerProcess... serverProcesses)
A collection of server process configurations that identify what server processes to run on fleet computes.
- Parameters:
serverProcesses- A collection of server process configurations that identify what server processes to run on fleet computes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverProcesses
RuntimeConfiguration.Builder serverProcesses(Consumer<ServerProcess.Builder>... serverProcesses)
A collection of server process configurations that identify what server processes to run on fleet computes.
This is a convenience method that creates an instance of theServerProcess.Builderavoiding the need to create one manually viaServerProcess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serverProcesses(List.) - Parameters:
serverProcesses- a consumer that will call methods onServerProcess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serverProcesses(java.util.Collection)
-
maxConcurrentGameSessionActivations
RuntimeConfiguration.Builder maxConcurrentGameSessionActivations(Integer maxConcurrentGameSessionActivations)
The number of game sessions in status
ACTIVATINGto allow on an instance or container. This setting limits the instance resources that can be used for new game activations at any one time.- Parameters:
maxConcurrentGameSessionActivations- The number of game sessions in statusACTIVATINGto allow on an instance or container. This setting limits the instance resources that can be used for new game activations at any one time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionActivationTimeoutSeconds
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 toTERMINATED.- Parameters:
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 statusACTIVATING. If the game session does not become active before the timeout, it is ended and the game session status is changed toTERMINATED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-