@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetDesiredCapacityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetDesiredCapacityRequest() |
Modifier and Type | Method and Description |
---|---|
SetDesiredCapacityRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
Integer |
getDesiredCapacity()
The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the
capacity it attempts to maintain.
|
Boolean |
getHonorCooldown()
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling
activity to set your Auto Scaling group to its new capacity.
|
int |
hashCode() |
Boolean |
isHonorCooldown()
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling
activity to set your Auto Scaling group to its new capacity.
|
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setDesiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the
capacity it attempts to maintain.
|
void |
setHonorCooldown(Boolean honorCooldown)
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling
activity to set your Auto Scaling group to its new capacity.
|
String |
toString()
Returns a string representation of this object.
|
SetDesiredCapacityRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
SetDesiredCapacityRequest |
withDesiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the
capacity it attempts to maintain.
|
SetDesiredCapacityRequest |
withHonorCooldown(Boolean honorCooldown)
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling
activity to set your Auto Scaling group to its new capacity.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.
desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and
the capacity it attempts to maintain.public Integer getDesiredCapacity()
The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.
public SetDesiredCapacityRequest withDesiredCapacity(Integer desiredCapacity)
The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.
desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and
the capacity it attempts to maintain.public void setHonorCooldown(Boolean honorCooldown)
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
honorCooldown
- Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a
scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling
does not honor the cooldown period during manual scaling activities.public Boolean getHonorCooldown()
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
public SetDesiredCapacityRequest withHonorCooldown(Boolean honorCooldown)
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
honorCooldown
- Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a
scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling
does not honor the cooldown period during manual scaling activities.public Boolean isHonorCooldown()
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
public String toString()
toString
in class Object
Object.toString()
public SetDesiredCapacityRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.