@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 desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the
capacity it attempts to maintain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String autoScalingGroupName()
The name of the Auto Scaling group.
public final 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.
public final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.