Interface GameServerGroupAutoScalingPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GameServerGroupAutoScalingPolicy.Builder,GameServerGroupAutoScalingPolicy>,SdkBuilder<GameServerGroupAutoScalingPolicy.Builder,GameServerGroupAutoScalingPolicy>,SdkPojo
- Enclosing class:
- GameServerGroupAutoScalingPolicy
public static interface GameServerGroupAutoScalingPolicy.Builder extends SdkPojo, CopyableBuilder<GameServerGroupAutoScalingPolicy.Builder,GameServerGroupAutoScalingPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GameServerGroupAutoScalingPolicy.BuilderestimatedInstanceWarmup(Integer estimatedInstanceWarmup)Length of time, in seconds, it takes for a new instance to start new game server processes and register with Amazon GameLift FleetIQ.default GameServerGroupAutoScalingPolicy.BuildertargetTrackingConfiguration(Consumer<TargetTrackingConfiguration.Builder> targetTrackingConfiguration)Settings for a target-based scaling policy applied to Auto Scaling group.GameServerGroupAutoScalingPolicy.BuildertargetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)Settings for a target-based scaling policy applied to Auto Scaling group.-
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
-
estimatedInstanceWarmup
GameServerGroupAutoScalingPolicy.Builder estimatedInstanceWarmup(Integer estimatedInstanceWarmup)
Length of time, in seconds, it takes for a new instance to start new game server processes and register with Amazon GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.
- Parameters:
estimatedInstanceWarmup- Length of time, in seconds, it takes for a new instance to start new game server processes and register with Amazon GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTrackingConfiguration
GameServerGroupAutoScalingPolicy.Builder targetTrackingConfiguration(TargetTrackingConfiguration targetTrackingConfiguration)
Settings for a target-based scaling policy applied to Auto Scaling group. These settings are used to create a target-based policy that tracks the Amazon GameLift FleetIQ metric
"PercentUtilizedGameServers"and specifies a target value for the metric. As player usage changes, the policy triggers to adjust the game server group capacity so that the metric returns to the target value.- Parameters:
targetTrackingConfiguration- Settings for a target-based scaling policy applied to Auto Scaling group. These settings are used to create a target-based policy that tracks the Amazon GameLift FleetIQ metric"PercentUtilizedGameServers"and specifies a target value for the metric. As player usage changes, the policy triggers to adjust the game server group capacity so that the metric returns to the target value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTrackingConfiguration
default GameServerGroupAutoScalingPolicy.Builder targetTrackingConfiguration(Consumer<TargetTrackingConfiguration.Builder> targetTrackingConfiguration)
Settings for a target-based scaling policy applied to Auto Scaling group. These settings are used to create a target-based policy that tracks the Amazon GameLift FleetIQ metric
This is a convenience method that creates an instance of the"PercentUtilizedGameServers"and specifies a target value for the metric. As player usage changes, the policy triggers to adjust the game server group capacity so that the metric returns to the target value.TargetTrackingConfiguration.Builderavoiding the need to create one manually viaTargetTrackingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetTrackingConfiguration(TargetTrackingConfiguration).- Parameters:
targetTrackingConfiguration- a consumer that will call methods onTargetTrackingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
targetTrackingConfiguration(TargetTrackingConfiguration)
-
-