@Generated(value="software.amazon.awssdk:codegen") public final class ScalingConstraints extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScalingConstraints.Builder,ScalingConstraints>
The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.
Modifier and Type | Class and Description |
---|---|
static interface |
ScalingConstraints.Builder |
Modifier and Type | Method and Description |
---|---|
static ScalingConstraints.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxCapacity()
The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow.
|
Integer |
minCapacity()
The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to
shrink.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScalingConstraints.Builder> |
serializableBuilderClass() |
ScalingConstraints.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer minCapacity()
The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.
public final Integer maxCapacity()
The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.
public ScalingConstraints.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ScalingConstraints.Builder,ScalingConstraints>
public static ScalingConstraints.Builder builder()
public static Class<? extends ScalingConstraints.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.