@Generated(value="software.amazon.awssdk:codegen") public final class SetDesiredCapacityRequest extends AutoScalingRequest implements ToCopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetDesiredCapacityRequest.Builder |
| Modifier and Type | Method and 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetDesiredCapacityRequest.Builder> |
serializableBuilderClass() |
SetDesiredCapacityRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>toBuilder in class AutoScalingRequestpublic static SetDesiredCapacityRequest.Builder builder()
public static Class<? extends SetDesiredCapacityRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2018. All rights reserved.