Container for the parameters to the SetDesiredCapacity operation.
Sets the desired size of the specified AutoScalingGroup.
Declaration Syntax
C# |
public class SetDesiredCapacityRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
SetDesiredCapacityRequest()()()() | Initializes a new instance of the SetDesiredCapacityRequest class | |
AutoScalingGroupName |
The name of the Auto Scaling group.
Constraints: | |
DesiredCapacity |
The new capacity setting for the Auto Scaling group.
| |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
HonorCooldown |
By default, SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling group. Set to True if you want
Auto Scaling to wait for the cooldown period associated with the Auto Scaling group to complete before initiating a scaling activity to set
your Auto Scaling group to the new capacity setting.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithAutoScalingGroupName(String) | Obsolete.
Sets the AutoScalingGroupName property
| |
WithDesiredCapacity(Int32) | Obsolete.
Sets the DesiredCapacity property
| |
WithHonorCooldown(Boolean) | Obsolete.
Sets the HonorCooldown property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
SetDesiredCapacityRequest |