Interface NotScaledReason.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotScaledReason.Builder,,NotScaledReason> SdkBuilder<NotScaledReason.Builder,,NotScaledReason> SdkPojo
- Enclosing class:
NotScaledReason
public static interface NotScaledReason.Builder
extends SdkPojo, CopyableBuilder<NotScaledReason.Builder,NotScaledReason>
-
Method Summary
Modifier and TypeMethodDescriptionA code that represents the reason for not scaling.currentCapacity(Integer currentCapacity) The current capacity.maxCapacity(Integer maxCapacity) The maximum capacity.minCapacity(Integer minCapacity) The minimum capacity.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, sdkFields
-
Method Details
-
code
A code that represents the reason for not scaling.
Valid values:
-
AutoScalingAnticipatedFlapping
-
TargetServicePutResourceAsUnscalable
-
AlreadyAtMaxCapacity
-
AlreadyAtMinCapacity
-
AlreadyAtDesiredCapacity
- Parameters:
code- A code that represents the reason for not scaling.Valid values:
-
AutoScalingAnticipatedFlapping
-
TargetServicePutResourceAsUnscalable
-
AlreadyAtMaxCapacity
-
AlreadyAtMinCapacity
-
AlreadyAtDesiredCapacity
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
maxCapacity
The maximum capacity.
- Parameters:
maxCapacity- The maximum capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minCapacity
The minimum capacity.
- Parameters:
minCapacity- The minimum capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentCapacity
The current capacity.
- Parameters:
currentCapacity- The current capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-