@Generated(value="software.amazon.awssdk:codegen") public final class SetLoadBasedAutoScalingRequest extends OpsWorksRequest implements ToCopyableBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetLoadBasedAutoScalingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetLoadBasedAutoScalingRequest.Builder |
builder() |
AutoScalingThresholds |
downScaling()
An
AutoScalingThresholds object with the downscaling threshold configuration. |
Boolean |
enable()
Enables load-based auto scaling 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 SetLoadBasedAutoScalingRequest.Builder> |
serializableBuilderClass() |
SetLoadBasedAutoScalingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AutoScalingThresholds |
upScaling()
An
AutoScalingThresholds object with the upscaling threshold configuration. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String layerId()
The layer ID.
public final Boolean enable()
Enables load-based auto scaling for the layer.
public final AutoScalingThresholds upScaling()
An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds
these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.
AutoScalingThresholds object with the upscaling threshold configuration. If the load
exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of
instances.public final AutoScalingThresholds downScaling()
An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls
below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.
AutoScalingThresholds object with the downscaling threshold configuration. If the load
falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number
of instances.public SetLoadBasedAutoScalingRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetLoadBasedAutoScalingRequest.Builder,SetLoadBasedAutoScalingRequest>toBuilder in class OpsWorksRequestpublic static SetLoadBasedAutoScalingRequest.Builder builder()
public static Class<? extends SetLoadBasedAutoScalingRequest.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.