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 Details

    • 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 "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.

      This is a convenience method that creates an instance of the TargetTrackingConfiguration.Builder avoiding the need to create one manually via TargetTrackingConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetTrackingConfiguration(TargetTrackingConfiguration).

      Parameters:
      targetTrackingConfiguration - a consumer that will call methods on TargetTrackingConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: