Class AutoScalingTargetTrackingScalingPolicyConfigurationDescription
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder,AutoScalingTargetTrackingScalingPolicyConfigurationDescription>
@Generated("software.amazon.awssdk:codegen") public final class AutoScalingTargetTrackingScalingPolicyConfigurationDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder,AutoScalingTargetTrackingScalingPolicyConfigurationDescription>
Represents the properties of a target tracking scaling policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder
builder()
Boolean
disableScaleIn()
Indicates whether scale in by the target tracking policy is disabled.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
scaleInCooldown()
The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.Integer
scaleOutCooldown()
The amount of time, in seconds, after a scale out activity completes before another scale out activity can start.List<SdkField<?>>
sdkFields()
static Class<? extends AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder>
serializableBuilderClass()
Double
targetValue()
The target value for the metric.AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
disableScaleIn
public final Boolean disableScaleIn()
Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false.
- Returns:
- Indicates whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is false.
-
scaleInCooldown
public final Integer scaleInCooldown()
The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. You should scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, application auto scaling scales out your scalable target immediately.
- Returns:
- The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. The cooldown period is used to block subsequent scale in requests until it has expired. You should scale in conservatively to protect your application's availability. However, if another alarm triggers a scale out policy during the cooldown period after a scale-in, application auto scaling scales out your scalable target immediately.
-
scaleOutCooldown
public final Integer scaleOutCooldown()
The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. You should continuously (but not excessively) scale out.
- Returns:
- The amount of time, in seconds, after a scale out activity completes before another scale out activity can start. While the cooldown period is in effect, the capacity that has been added by the previous scale out event that initiated the cooldown is calculated as part of the desired capacity for the next scale out. You should continuously (but not excessively) scale out.
-
targetValue
public final Double targetValue()
The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).
- Returns:
- The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).
-
toBuilder
public AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder toBuilder()
-
builder
public static AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoScalingTargetTrackingScalingPolicyConfigurationDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-