Interface TargetTrackingScalingPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetTrackingScalingPolicy.Builder,,TargetTrackingScalingPolicy> SdkBuilder<TargetTrackingScalingPolicy.Builder,,TargetTrackingScalingPolicy> SdkPojo
- Enclosing class:
TargetTrackingScalingPolicy
@Mutable
@NotThreadSafe
public static interface TargetTrackingScalingPolicy.Builder
extends SdkPojo, CopyableBuilder<TargetTrackingScalingPolicy.Builder,TargetTrackingScalingPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionpredefinedMetricType(String predefinedMetricType) The predefined metric type to track for scaling decisions.predefinedMetricType(CapacityProviderPredefinedMetricType predefinedMetricType) The predefined metric type to track for scaling decisions.targetValue(Double targetValue) The target value for the metric that the scaling policy attempts to maintain through scaling actions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
predefinedMetricType
The predefined metric type to track for scaling decisions.
- Parameters:
predefinedMetricType- The predefined metric type to track for scaling decisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
predefinedMetricType
TargetTrackingScalingPolicy.Builder predefinedMetricType(CapacityProviderPredefinedMetricType predefinedMetricType) The predefined metric type to track for scaling decisions.
- Parameters:
predefinedMetricType- The predefined metric type to track for scaling decisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetValue
The target value for the metric that the scaling policy attempts to maintain through scaling actions.
- Parameters:
targetValue- The target value for the metric that the scaling policy attempts to maintain through scaling actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-