Class CfnFleetPropsMixin.RuntimeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.gamelift.CfnFleetPropsMixin.RuntimeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleetPropsMixin.RuntimeConfigurationProperty>
- Enclosing interface:
CfnFleetPropsMixin.RuntimeConfigurationProperty
@Stability(Stable)
public static final class CfnFleetPropsMixin.RuntimeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleetPropsMixin.RuntimeConfigurationProperty>
A builder for
CfnFleetPropsMixin.RuntimeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gameSessionActivationTimeoutSeconds(Number gameSessionActivationTimeoutSeconds) maxConcurrentGameSessionActivations(Number maxConcurrentGameSessionActivations) serverProcesses(List<? extends Object> serverProcesses) Sets the value ofCfnFleetPropsMixin.RuntimeConfigurationProperty.getServerProcesses()serverProcesses(IResolvable serverProcesses) Sets the value ofCfnFleetPropsMixin.RuntimeConfigurationProperty.getServerProcesses()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gameSessionActivationTimeoutSeconds
@Stability(Stable) public CfnFleetPropsMixin.RuntimeConfigurationProperty.Builder gameSessionActivationTimeoutSeconds(Number gameSessionActivationTimeoutSeconds) Sets the value ofCfnFleetPropsMixin.RuntimeConfigurationProperty.getGameSessionActivationTimeoutSeconds()- 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:
this
-
maxConcurrentGameSessionActivations
@Stability(Stable) public CfnFleetPropsMixin.RuntimeConfigurationProperty.Builder maxConcurrentGameSessionActivations(Number maxConcurrentGameSessionActivations) Sets the value ofCfnFleetPropsMixin.RuntimeConfigurationProperty.getMaxConcurrentGameSessionActivations()- Parameters:
maxConcurrentGameSessionActivations- The number of game sessions in statusACTIVATINGto allow on an instance or compute. This setting limits the instance resources that can be used for new game activations at any one time.- Returns:
this
-
serverProcesses
@Stability(Stable) public CfnFleetPropsMixin.RuntimeConfigurationProperty.Builder serverProcesses(IResolvable serverProcesses) Sets the value ofCfnFleetPropsMixin.RuntimeConfigurationProperty.getServerProcesses()- Parameters:
serverProcesses- A collection of server process configurations that identify what server processes to run on fleet computes.- Returns:
this
-
serverProcesses
@Stability(Stable) public CfnFleetPropsMixin.RuntimeConfigurationProperty.Builder serverProcesses(List<? extends Object> serverProcesses) Sets the value ofCfnFleetPropsMixin.RuntimeConfigurationProperty.getServerProcesses()- Parameters:
serverProcesses- A collection of server process configurations that identify what server processes to run on fleet computes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleetPropsMixin.RuntimeConfigurationProperty>- Returns:
- a new instance of
CfnFleetPropsMixin.RuntimeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-