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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetTrackingScalingPolicy.BuilderpredefinedMetricType(String predefinedMetricType)The predefined metric type to track for scaling decisions.TargetTrackingScalingPolicy.BuilderpredefinedMetricType(CapacityProviderPredefinedMetricType predefinedMetricType)The predefined metric type to track for scaling decisions.TargetTrackingScalingPolicy.BuildertargetValue(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
predefinedMetricType
TargetTrackingScalingPolicy.Builder predefinedMetricType(String 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:
CapacityProviderPredefinedMetricType,CapacityProviderPredefinedMetricType
-
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:
CapacityProviderPredefinedMetricType,CapacityProviderPredefinedMetricType
-
targetValue
TargetTrackingScalingPolicy.Builder targetValue(Double 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.
-
-