public class SetDesiredCapacityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SetDesiredCapacityRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetDesiredCapacityRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
Integer |
getDesiredCapacity()
The number of EC2 instances that should be running in the Auto Scaling
group.
|
Boolean |
getHonorCooldown()
By default,
SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. |
int |
hashCode() |
Boolean |
isHonorCooldown()
By default,
SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the Auto Scaling
group.
|
void |
setHonorCooldown(Boolean honorCooldown)
By default,
SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetDesiredCapacityRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
SetDesiredCapacityRequest |
withDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the Auto Scaling
group.
|
SetDesiredCapacityRequest |
withHonorCooldown(Boolean honorCooldown)
By default,
SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public SetDesiredCapacityRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public void setDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the Auto Scaling group.
desiredCapacity - The number of EC2 instances that should be running in the Auto
Scaling group.public Integer getDesiredCapacity()
The number of EC2 instances that should be running in the Auto Scaling group.
public SetDesiredCapacityRequest withDesiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the Auto Scaling group.
desiredCapacity - The number of EC2 instances that should be running in the Auto
Scaling group.public void setHonorCooldown(Boolean honorCooldown)
By default, SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. Specify True to make
Auto Scaling to wait for the cool-down period associated with the Auto
Scaling group to complete before initiating a scaling activity to set
your Auto Scaling group to its new capacity.
honorCooldown - By default, SetDesiredCapacity overrides any cooldown
period associated with the Auto Scaling group. Specify
True to make Auto Scaling to wait for the cool-down
period associated with the Auto Scaling group to complete before
initiating a scaling activity to set your Auto Scaling group to
its new capacity.public Boolean getHonorCooldown()
By default, SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. Specify True to make
Auto Scaling to wait for the cool-down period associated with the Auto
Scaling group to complete before initiating a scaling activity to set
your Auto Scaling group to its new capacity.
SetDesiredCapacity overrides any
cooldown period associated with the Auto Scaling group. Specify
True to make Auto Scaling to wait for the cool-down
period associated with the Auto Scaling group to complete before
initiating a scaling activity to set your Auto Scaling group to
its new capacity.public SetDesiredCapacityRequest withHonorCooldown(Boolean honorCooldown)
By default, SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. Specify True to make
Auto Scaling to wait for the cool-down period associated with the Auto
Scaling group to complete before initiating a scaling activity to set
your Auto Scaling group to its new capacity.
honorCooldown - By default, SetDesiredCapacity overrides any cooldown
period associated with the Auto Scaling group. Specify
True to make Auto Scaling to wait for the cool-down
period associated with the Auto Scaling group to complete before
initiating a scaling activity to set your Auto Scaling group to
its new capacity.public Boolean isHonorCooldown()
By default, SetDesiredCapacity overrides any cooldown period
associated with the Auto Scaling group. Specify True to make
Auto Scaling to wait for the cool-down period associated with the Auto
Scaling group to complete before initiating a scaling activity to set
your Auto Scaling group to its new capacity.
SetDesiredCapacity overrides any
cooldown period associated with the Auto Scaling group. Specify
True to make Auto Scaling to wait for the cool-down
period associated with the Auto Scaling group to complete before
initiating a scaling activity to set your Auto Scaling group to
its new capacity.public String toString()
toString in class ObjectObject.toString()public SetDesiredCapacityRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.