@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuspendedState extends Object implements Serializable, Cloneable, StructuredPojo
Specifies whether the scaling activities for a scalable target are in a suspended state.
Constructor and Description |
---|
SuspendedState() |
Modifier and Type | Method and Description |
---|---|
SuspendedState |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDynamicScalingInSuspended()
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
|
Boolean |
getDynamicScalingOutSuspended()
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.
|
Boolean |
getScheduledScalingSuspended()
Whether scheduled scaling is suspended.
|
int |
hashCode() |
Boolean |
isDynamicScalingInSuspended()
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
|
Boolean |
isDynamicScalingOutSuspended()
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.
|
Boolean |
isScheduledScalingSuspended()
Whether scheduled scaling is suspended.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDynamicScalingInSuspended(Boolean dynamicScalingInSuspended)
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
|
void |
setDynamicScalingOutSuspended(Boolean dynamicScalingOutSuspended)
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.
|
void |
setScheduledScalingSuspended(Boolean scheduledScalingSuspended)
Whether scheduled scaling is suspended.
|
String |
toString()
Returns a string representation of this object.
|
SuspendedState |
withDynamicScalingInSuspended(Boolean dynamicScalingInSuspended)
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
|
SuspendedState |
withDynamicScalingOutSuspended(Boolean dynamicScalingOutSuspended)
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.
|
SuspendedState |
withScheduledScalingSuspended(Boolean scheduledScalingSuspended)
Whether scheduled scaling is suspended.
|
public void setDynamicScalingInSuspended(Boolean 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 is false
.
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 is false
.public Boolean getDynamicScalingInSuspended()
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 is false
.
true
if you don't want Application Auto Scaling to remove capacity when a scaling policy
is triggered. The default is false
.public SuspendedState withDynamicScalingInSuspended(Boolean 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 is false
.
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 is false
.public Boolean isDynamicScalingInSuspended()
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 is false
.
true
if you don't want Application Auto Scaling to remove capacity when a scaling policy
is triggered. The default is false
.public void setDynamicScalingOutSuspended(Boolean 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 is false
.
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 is false
.public Boolean getDynamicScalingOutSuspended()
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 is false
.
true
if you don't want Application Auto Scaling to add capacity when a scaling
policy is triggered. The default is false
.public SuspendedState withDynamicScalingOutSuspended(Boolean 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 is false
.
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 is false
.public Boolean isDynamicScalingOutSuspended()
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 is false
.
true
if you don't want Application Auto Scaling to add capacity when a scaling
policy is triggered. The default is false
.public void setScheduledScalingSuspended(Boolean 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 is false
.
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 is false
.public Boolean getScheduledScalingSuspended()
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 is false
.
true
if you don't want Application
Auto Scaling to add or remove capacity by initiating scheduled actions. The default is false
.public SuspendedState withScheduledScalingSuspended(Boolean 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 is false
.
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 is false
.public Boolean isScheduledScalingSuspended()
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 is false
.
true
if you don't want Application
Auto Scaling to add or remove capacity by initiating scheduled actions. The default is false
.public String toString()
toString
in class Object
Object.toString()
public SuspendedState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.