Class SuspendedState
- java.lang.Object
-
- software.amazon.awssdk.services.applicationautoscaling.model.SuspendedState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SuspendedState.Builder,SuspendedState>
@Generated("software.amazon.awssdk:codegen") public final class SuspendedState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SuspendedState.Builder,SuspendedState>
Specifies whether the scaling activities for a scalable target are in a suspended state.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSuspendedState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuspendedState.Builderbuilder()BooleandynamicScalingInSuspended()Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.BooleandynamicScalingOutSuspended()Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanscheduledScalingSuspended()Whether scheduled scaling is suspended.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SuspendedState.Builder>serializableBuilderClass()SuspendedState.BuildertoBuilder()StringtoString()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
-
dynamicScalingInSuspended
public final Boolean dynamicScalingInSuspended()
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to
trueif you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default isfalse.- Returns:
- Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value
to
trueif you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default isfalse.
-
dynamicScalingOutSuspended
public final Boolean dynamicScalingOutSuspended()
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to
trueif you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default isfalse.- Returns:
- Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the
value to
trueif you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default isfalse.
-
scheduledScalingSuspended
public final Boolean scheduledScalingSuspended()
Whether scheduled scaling is suspended. Set the value to
trueif you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default isfalse.- Returns:
- Whether scheduled scaling is suspended. Set the value to
trueif you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default isfalse.
-
toBuilder
public SuspendedState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SuspendedState.Builder,SuspendedState>
-
builder
public static SuspendedState.Builder builder()
-
serializableBuilderClass
public static Class<? extends SuspendedState.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-