Class SuspendedState
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SuspendedState.Builder,
SuspendedState>
Specifies whether the scaling activities for a scalable target are in a suspended state.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SuspendedState.Builder
builder()
final Boolean
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.final Boolean
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Boolean
Whether scheduled scaling is suspended.static Class
<? extends SuspendedState.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dynamicScalingInSuspended
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to
true
if 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
true
if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default isfalse
.
-
dynamicScalingOutSuspended
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to
true
if 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
true
if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default isfalse
.
-
scheduledScalingSuspended
Whether scheduled scaling is suspended. Set the value to
true
if 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
true
if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default isfalse
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SuspendedState.Builder,
SuspendedState> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-