@Generated(value="software.amazon.awssdk:codegen") public final class NotScaledReason extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotScaledReason.Builder,NotScaledReason>
Describes the reason for an activity that isn't scaled (not scaled activity), in machine-readable format. For help interpreting the not scaled reason details, see Scaling activities for Application Auto Scaling.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotScaledReason.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NotScaledReason.Builder |
builder() |
String |
code()
A code that represents the reason for not scaling.
|
Integer |
currentCapacity()
The current capacity.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxCapacity()
The maximum capacity.
|
Integer |
minCapacity()
The minimum capacity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotScaledReason.Builder> |
serializableBuilderClass() |
NotScaledReason.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String code()
A code that represents the reason for not scaling.
Valid values:
AutoScalingAnticipatedFlapping
TargetServicePutResourceAsUnscalable
AlreadyAtMaxCapacity
AlreadyAtMinCapacity
AlreadyAtDesiredCapacity
Valid values:
AutoScalingAnticipatedFlapping
TargetServicePutResourceAsUnscalable
AlreadyAtMaxCapacity
AlreadyAtMinCapacity
AlreadyAtDesiredCapacity
public final Integer maxCapacity()
The maximum capacity.
public final Integer minCapacity()
The minimum capacity.
public final Integer currentCapacity()
The current capacity.
public NotScaledReason.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NotScaledReason.Builder,NotScaledReason>public static NotScaledReason.Builder builder()
public static Class<? extends NotScaledReason.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.