Interface TargetConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TargetConfiguration.Builder,TargetConfiguration>, SdkBuilder<TargetConfiguration.Builder,TargetConfiguration>, SdkPojo
Enclosing class:
TargetConfiguration

public static interface TargetConfiguration.Builder extends SdkPojo, CopyableBuilder<TargetConfiguration.Builder,TargetConfiguration>
  • Method Details

    • targetValue

      TargetConfiguration.Builder targetValue(Double targetValue)

      Desired value to use with a target-based scaling policy. The value must be relevant for whatever metric the scaling policy is using. For example, in a policy using the metric PercentAvailableGameSessions, the target value should be the preferred size of the fleet's buffer (the percent of capacity that should be idle and ready for new game sessions).

      Parameters:
      targetValue - Desired value to use with a target-based scaling policy. The value must be relevant for whatever metric the scaling policy is using. For example, in a policy using the metric PercentAvailableGameSessions, the target value should be the preferred size of the fleet's buffer (the percent of capacity that should be idle and ready for new game sessions).
      Returns:
      Returns a reference to this object so that method calls can be chained together.