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 Summary
Modifier and TypeMethodDescriptiontargetValue
(Double targetValue) Desired value to use with a target-based scaling policy.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 Details
-
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.
-