@Generated(value="software.amazon.awssdk:codegen") public final class LoadBasedAutoScalingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>
Describes a layer's load-based auto scaling configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LoadBasedAutoScalingConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LoadBasedAutoScalingConfiguration.Builder |
builder() |
AutoScalingThresholds |
downScaling()
An
AutoScalingThresholds object that describes the downscaling configuration, which defines how and
when AWS OpsWorks Stacks reduces the number of instances. |
Boolean |
enable()
Whether load-based auto scaling is enabled for the layer.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
layerId()
The layer ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LoadBasedAutoScalingConfiguration.Builder> |
serializableBuilderClass() |
LoadBasedAutoScalingConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AutoScalingThresholds |
upScaling()
An
AutoScalingThresholds object that describes the upscaling configuration, which defines how and
when AWS OpsWorks Stacks increases the number of instances. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String layerId()
The layer ID.
public final Boolean enable()
Whether load-based auto scaling is enabled for the layer.
public final AutoScalingThresholds upScaling()
An AutoScalingThresholds object that describes the upscaling configuration, which defines how and
when AWS OpsWorks Stacks increases the number of instances.
AutoScalingThresholds object that describes the upscaling configuration, which defines
how and when AWS OpsWorks Stacks increases the number of instances.public final AutoScalingThresholds downScaling()
An AutoScalingThresholds object that describes the downscaling configuration, which defines how and
when AWS OpsWorks Stacks reduces the number of instances.
AutoScalingThresholds object that describes the downscaling configuration, which defines
how and when AWS OpsWorks Stacks reduces the number of instances.public LoadBasedAutoScalingConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LoadBasedAutoScalingConfiguration.Builder,LoadBasedAutoScalingConfiguration>public static LoadBasedAutoScalingConfiguration.Builder builder()
public static Class<? extends LoadBasedAutoScalingConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.