Cloneable
, ReadLimitInfo
, ToCopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
@Generated("software.amazon.awssdk:codegen") public class SetDesiredCapacityRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
SetDesiredCapacityRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
autoScalingGroupName() |
The name of the Auto Scaling group.
|
static SetDesiredCapacityRequest.Builder |
builder() |
|
Integer |
desiredCapacity() |
The number of EC2 instances that should be running in the Auto Scaling group.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Boolean |
honorCooldown() |
By default,
SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling group. |
static Class<? extends SetDesiredCapacityRequest.Builder> |
serializableBuilderClass() |
|
SetDesiredCapacityRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String autoScalingGroupName()
The name of the Auto Scaling group.
public Integer desiredCapacity()
The number of EC2 instances that should be running in the Auto Scaling group.
public 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
public static SetDesiredCapacityRequest.Builder builder()
public static Class<? extends SetDesiredCapacityRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.