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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotScaledReason.Buildercode(String code)A code that represents the reason for not scaling.NotScaledReason.BuildercurrentCapacity(Integer currentCapacity)The current capacity.NotScaledReason.BuildermaxCapacity(Integer maxCapacity)The maximum capacity.NotScaledReason.BuilderminCapacity(Integer minCapacity)The minimum capacity.-
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 Detail
-
code
NotScaledReason.Builder code(String 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
NotScaledReason.Builder maxCapacity(Integer 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
NotScaledReason.Builder minCapacity(Integer 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
NotScaledReason.Builder currentCapacity(Integer currentCapacity)
The current capacity.
- Parameters:
currentCapacity- The current capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-